{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {},
   "outputs": [],
   "source": [
    "%load_ext autoreload\n",
    "%autoreload 2"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "metadata": {},
   "outputs": [],
   "source": [
    "import os\n",
    "os.chdir('..')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "metadata": {},
   "outputs": [],
   "source": [
    "import detectron2_1"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "metadata": {},
   "outputs": [],
   "source": [
    "from detectron2.config import get_cfg\n",
    "from pathlib import Path\n",
    "from detectron2.engine import DefaultPredictor\n",
    "import cv2\n",
    "from detectron2.data import MetadataCatalog\n",
    "from detectron2.utils.visualizer import Visualizer\n",
    "from PIL import Image\n",
    "import numpy as np\n",
    "import matplotlib.pyplot as plt\n",
    "import torch\n",
    "from torchvision import transforms\n",
    "from PIL import Image\n",
    "from detectron2.checkpoint import DetectionCheckpointer"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Get hard cases"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "metadata": {},
   "outputs": [],
   "source": [
    "def area_of(left_top, right_bottom):\n",
    "    hw = np.clip(right_bottom - left_top, 0.0, None)\n",
    "    return hw[0] * hw[1]\n",
    "\n",
    "def iou_compute(boxes0, boxes1, eps=1e-5):\n",
    "    overlap_left_top = np.maximum(boxes0[:2], boxes1[:2])\n",
    "    overlap_right_bottom = np.minimum(boxes0[2:], boxes1[2:])\n",
    "\n",
    "    overlap_area = area_of(overlap_left_top, overlap_right_bottom)\n",
    "    area0 = area_of(boxes0[:2], boxes0[2:])\n",
    "    area1 = area_of(boxes1[:2], boxes1[2:])\n",
    "    return overlap_area / (area0 + area1 - overlap_area + eps)\n",
    "\n",
    "def pred(predictor, im):\n",
    "    outputs = predictor(im)\n",
    "    instances = outputs['instances']\n",
    "    pred_classes = instances.pred_classes  # tensor\n",
    "    pred_boxes = instances.pred_boxes  # Boxes object\n",
    "    pred_boxes = pred_boxes[pred_classes == 1].tensor\n",
    "    scores = instances.scores  # tensor\n",
    "    scores = scores[pred_classes == 1]\n",
    "\n",
    "    return pred_boxes, scores\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "For brand:  IRS+2020-05-18-11`25`38\n",
      "Predicted box:  tensor([[110.7153,  27.9900, 265.5634,  90.9139]], device='cuda:0')\n",
      "Ground-truth box:  [115.  29. 265.  92.]\n",
      "0.9374689067357725\n",
      "For brand:  AT&T Inc.+2020-05-29-12`51`42\n",
      "Predicted box:  tensor([[  94.3781,   60.8293,  200.4830,  110.7024],\n",
      "        [ 878.4846,  185.4051, 1037.5405,  222.6972],\n",
      "        [  67.5641,   51.8139,  229.4689,  119.9458]], device='cuda:0')\n",
      "Ground-truth box:  [ 94.  63. 200. 105.]\n",
      "0.8357974416024477\n",
      "For brand:  DGI (French Tax Authority)+2020-05-14-18`36`47\n",
      "Predicted box:  tensor([[ 109.1224,   37.5095,  196.1336,   96.6428],\n",
      "        [  99.4935,   26.5582,  500.5150,  100.5512],\n",
      "        [1010.0828,   15.5798, 1229.4481,   58.6929],\n",
      "        [1004.2850,   66.6426, 1238.6747,  113.0852],\n",
      "        [ 220.8163,   35.7463,  501.0514,   75.7503],\n",
      "        [1014.5806,   21.4887, 1043.6184,   52.8059]], device='cuda:0')\n",
      "Ground-truth box:  [111.  36. 194.  97.]\n",
      "0.9260164653769384\n",
      "For brand:  ATB Financial+2020-05-18-10`59`46\n",
      "Predicted box:  tensor([[402.8261,  53.0897, 958.6493, 112.3544],\n",
      "        [412.4425,  48.3498, 924.6329, 163.1036]], device='cuda:0')\n",
      "Ground-truth box:  [680.  48. 797. 113.]\n",
      "0.20629614429605994\n",
      "For brand:  Discover+2020-05-25-14`39`16\n",
      "Predicted box:  tensor([[193.6906,  13.0025, 324.0107,  50.3139],\n",
      "        [828.6091,  10.5932, 975.3800,  58.7467],\n",
      "        [188.8018,  12.3960, 465.0895,  51.0312],\n",
      "        [195.5023, 267.1413, 587.6494, 349.9803]], device='cuda:0')\n",
      "Ground-truth box:  [190.   9. 326.  44.]\n",
      "0.7235761415102012\n",
      "For brand:  Office365+2020-05-02-18`34`27\n",
      "Predicted box:  tensor([[ 10.0777,   1.8145, 151.9379,  34.8392],\n",
      "        [ 10.1914,   3.9192,  46.3536,  33.4232],\n",
      "        [ 44.5314,  43.1184, 130.5165,  65.5993]], device='cuda:0')\n",
      "Ground-truth box:  [10. -1. 49. 35.]\n",
      "0.7599196535341944\n",
      "For brand:  TradeKey+2020-05-21-12`13`41\n",
      "Predicted box:  tensor([[291.0074,  27.4981, 512.2591,  74.0970]], device='cuda:0')\n",
      "Ground-truth box:  [292.  27. 514.  70.]\n",
      "0.8920185122578715\n",
      "For brand:  Societe Generale+2020-05-24-20`40`42\n",
      "Predicted box:  tensor([[ 56.4976,  47.2178, 315.3671,  94.6769],\n",
      "        [ 65.5645,  52.7415, 202.4651,  92.4943]], device='cuda:0')\n",
      "Ground-truth box:  [196.  56. 321.  90.]\n",
      "0.3252712094442008\n",
      "For brand:  Lloyds TSB Group+2020-05-30-16`55`32\n",
      "Predicted box:  tensor([[ 924.3199,    2.9694,  977.4374,   47.6632],\n",
      "        [ 782.8500,   72.3359, 1100.8932,  111.1749]], device='cuda:0')\n",
      "Ground-truth box:  [919.   2. 986.  46.]\n",
      "0.7527718300863373\n",
      "For brand:  Itau Unibanco S.A+2020-05-17-09`06`20\n",
      "Predicted box:  tensor([[112.8217,  59.9703, 176.8481, 121.5298],\n",
      "        [110.1178,  53.4639, 359.1848, 124.5374]], device='cuda:0')\n",
      "Ground-truth box:  [120.  64. 166. 117.]\n",
      "0.6185565053338272\n",
      "For brand:  LinkedIn Corporation+2020-05-02-07`37`48\n",
      "Predicted box:  tensor([[603.4380,  19.5009, 755.9749,  63.3130]], device='cuda:0')\n",
      "Ground-truth box:  [602.  26. 762.  64.]\n",
      "0.8048829371948467\n",
      "For brand:  Comcast Corporation+2020-05-27-16`25`13\n",
      "Predicted box:  tensor([[1193.0743,   80.7371, 1331.4160,  136.3771]], device='cuda:0')\n",
      "Ground-truth box:  [1197.   82. 1332.  137.]\n",
      "0.9354908856423755\n",
      "For brand:  Daum+2020-05-30-15`37`39\n",
      "Predicted box:  tensor([[ 903.7900,   16.6775, 1018.7609,   73.1441]], device='cuda:0')\n",
      "Ground-truth box:  [ 904.   22. 1027.   70.]\n",
      "0.7997860694220228\n",
      "For brand:  Maersk+2020-05-27-11`40`18\n",
      "Predicted box:  tensor([[  32.5099,   22.4683,  221.6301,   72.9120],\n",
      "        [  34.3188,   23.8491,   80.7076,   72.6532],\n",
      "        [ 843.4207,   92.2743, 1076.0900,  125.8340],\n",
      "        [ 929.2067,  181.0522,  985.2202,  237.4724],\n",
      "        [ 482.2859,  898.7322, 1430.9238, 1005.4861]], device='cuda:0')\n",
      "Ground-truth box:  [39. 29. 73. 67.]\n",
      "0.5706802988510151\n",
      "For brand:  Americanas.com S,A Comercio Electrnico+2020-05-22-11`10`45\n",
      "Predicted box:  tensor([[3.1572e+02, 6.7790e+01, 5.4057e+02, 1.1799e+02],\n",
      "        [7.5979e+02, 4.1772e-01, 1.0941e+03, 5.3809e+01],\n",
      "        [4.0069e+02, 5.1852e+00, 7.9933e+02, 4.4828e+01],\n",
      "        [7.8355e+02, 0.0000e+00, 8.4230e+02, 5.5310e+01]], device='cuda:0')\n",
      "Ground-truth box:  [314.  74. 543. 120.]\n",
      "0.8291526503051214\n",
      "For brand:  Microsoft OneDrive+2020-05-25-13`56`59\n",
      "Predicted box:  tensor([[ 43.6780,   3.4884, 168.6074,  41.6048],\n",
      "        [ 51.1151,  63.9962, 157.5955,  96.8349],\n",
      "        [664.7183,  61.5207, 809.2018, 113.9113],\n",
      "        [677.3422, 129.5589, 804.5862, 175.9575],\n",
      "        [420.9655, 448.1310, 868.4417, 668.1208]], device='cuda:0')\n",
      "Ground-truth box:  [ 43.   5. 171.  48.]\n",
      "0.8032929161130494\n",
      "For brand:  Comcast Corporation+2020-05-25-01`52`53\n",
      "Predicted box:  tensor([[1192.8718,   81.7040, 1331.3773,  134.8697],\n",
      "        [ 461.6401,   87.9326,  868.3119,  127.8620],\n",
      "        [ 453.1128,   89.3714,  886.2684,  177.7487]], device='cuda:0')\n",
      "Ground-truth box:  [1191.   91. 1336.  132.]\n",
      "0.7442612941092317\n",
      "For brand:  Apple Inc.+2020-05-24-19`28`31\n",
      "Predicted box:  tensor([[  11.5597,    7.7842,   36.2411,   34.3951],\n",
      "        [ 896.2251,  351.0987, 1018.5349,  458.6926],\n",
      "        [  10.0388,    6.6229,   53.7671,   38.1723]], device='cuda:0')\n",
      "Ground-truth box:  [10.  9. 37. 38.]\n",
      "0.770949414202888\n",
      "For brand:  DHL Airways, Inc.+2020-05-27-17`11`45\n",
      "Predicted box:  tensor([[ 824.8193,  104.9231, 1103.1146,  161.8326],\n",
      "        [ 769.5971,   65.2805, 1098.9321,  171.6141]], device='cuda:0')\n",
      "Ground-truth box:  [ 817.   91. 1121.  162.]\n",
      "0.7337680535328596\n",
      "For brand:  Wells Fargo & Company+2020-05-23-18`11`06\n",
      "Predicted box:  tensor([[450.8818,   8.1631, 705.1736,  48.6310]], device='cuda:0')\n",
      "Ground-truth box:  [450.   3. 701.  55.]\n",
      "0.7655886096149574\n",
      "For brand:  Free (ISP)+2020-05-24-04`07`04\n",
      "Predicted box:  tensor([[493.6375,  20.9586, 680.3237,  96.8222]], device='cuda:0')\n",
      "Ground-truth box:  [494.  24. 680. 101.]\n",
      "0.9066360457225366\n",
      "For brand:  Free (ISP)+2020-05-24-10`44`54\n",
      "Predicted box:  tensor([[453.7249,   8.3467, 589.1559,  57.3468],\n",
      "        [455.5251,   7.7201, 891.1574,  59.1754],\n",
      "        [569.1844, 153.4191, 809.3999, 225.4407]], device='cuda:0')\n",
      "Ground-truth box:  [451.   3. 586.  61.]\n",
      "0.8117441375061276\n",
      "For brand:  WeTransfer+2020-05-29-12`27`06\n",
      "Predicted box:  tensor([[ 95.6593, 188.2698, 282.8473, 234.0420],\n",
      "        [ 10.6481,  11.4213,  67.7844,  42.4704],\n",
      "        [  1.6009,   4.2190,  75.0162,  54.9401],\n",
      "        [ 96.4070, 189.6865, 138.9544, 233.4508]], device='cuda:0')\n",
      "Ground-truth box:  [16. 10. 68. 48.]\n",
      "0.7505761707940796\n",
      "For brand:  AT&T Inc.+2020-05-19-08`31`17\n",
      "Predicted box:  tensor([[231.0483,  46.5166, 289.2135,  99.4368],\n",
      "        [217.1332,  44.1048, 335.4525, 105.8167]], device='cuda:0')\n",
      "Ground-truth box:  [230.  47. 290. 102.]\n",
      "0.9164319453371835\n",
      "For brand:  Amazon.com Inc.+2020-05-12-13`21`28\n",
      "Predicted box:  tensor([[625.4725,   4.5751, 743.1302,  47.7220]], device='cuda:0')\n",
      "Ground-truth box:  [616.   2. 739.  42.]\n",
      "0.739194315189666\n",
      "For brand:  WhatsApp+2020-05-27-14`36`05\n",
      "Predicted box:  tensor([[ 622.4175,   20.6046, 1269.5798,  176.9079],\n",
      "        [ 910.9434,  241.3430,  992.3931,  321.7964]], device='cuda:0')\n",
      "Ground-truth box:  [914. 251. 986. 312.]\n",
      "0.6702371142712864\n",
      "For brand:  eBay Inc.+2020-05-10-23`35`26\n",
      "Predicted box:  tensor([[  9.6820,  20.9172, 105.5970,  63.7740],\n",
      "        [634.3904, 111.8983, 732.7969, 152.5119],\n",
      "        [636.7969, 789.5509, 722.8219, 831.0992]], device='cuda:0')\n",
      "Ground-truth box:  [ 14.  26. 105.  65.]\n",
      "0.8141391601369536\n",
      "For brand:  M & T Bank Coporation+2020-05-22-22`22`31\n",
      "Predicted box:  tensor([[ 886.3715,    3.1821, 1033.3777,   48.9590]], device='cuda:0')\n",
      "Ground-truth box:  [ 888.    7. 1025.   48.]\n",
      "0.8346859569126612\n",
      "For brand:  Wells Fargo & Company+2020-05-04-11`15`17\n",
      "Predicted box:  tensor([[594.6868,   2.4102, 773.9270,  31.7765]], device='cuda:0')\n",
      "Ground-truth box:  [591.   2. 778.  32.]\n",
      "0.9382554945277688\n",
      "For brand:  SunTrust Bank+2020-05-02-08`53`35\n",
      "Predicted box:  tensor([[564.5944,  11.5441, 801.0069,  74.0485],\n",
      "        [ 31.0080,  11.1167, 137.6151,  65.5203],\n",
      "        [147.3563, 170.9226, 516.5406, 244.6853]], device='cuda:0')\n",
      "Ground-truth box:  [551.  11. 808.  81.]\n",
      "0.821392059543787\n",
      "For brand:  PayPal Inc.+2020-05-26-12`40`41\n",
      "Predicted box:  tensor([[ 885.9136,  124.2282, 1033.5609,  172.2344]], device='cuda:0')\n",
      "Ground-truth box:  [ 888.  123. 1029.  167.]\n",
      "0.8305605217245408\n",
      "For brand:  Orange+2020-05-16-12`48`57\n",
      "Predicted box:  tensor([[  76.4995,   15.5490,  125.8654,   64.5707],\n",
      "        [  70.6841,   13.5145,  155.7657,   71.0177],\n",
      "        [ 845.9565,  246.2187, 1107.7655,  307.5588]], device='cuda:0')\n",
      "Ground-truth box:  [ 80.  20. 125.  66.]\n",
      "0.8073371929793645\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "For brand:  Apple Inc.+2020-05-04-12`26`19\n",
      "Predicted box:  tensor([[225.4962,  59.6076, 321.6705,  91.4489],\n",
      "        [188.8376,   5.4385, 212.3985,  33.5501],\n",
      "        [579.2468, 238.9728, 792.7642, 302.8042],\n",
      "        [339.9910, 853.1313, 998.4499, 958.9624]], device='cuda:0')\n",
      "Ground-truth box:  [180.   7. 217.  38.]\n",
      "0.5284251945911194\n",
      "For brand:  Grupo Santander+2020-05-02-15`02`07\n",
      "Predicted box:  tensor([[577.0880,   3.8175, 787.7094,  57.0435],\n",
      "        [  6.0817,  77.5852,  84.3473, 150.7328],\n",
      "        [582.2952,   2.9193, 632.9499,  51.4674]], device='cuda:0')\n",
      "Ground-truth box:  [570.   5. 797.  61.]\n",
      "0.8457243983968921\n",
      "For brand:  TPG Telecom+2020-05-03-10`48`58\n",
      "Predicted box:  tensor([[167.7704,  17.9644, 295.1315,  68.9279],\n",
      "        [814.6099, 206.1782, 902.1318, 238.0914]], device='cuda:0')\n",
      "Ground-truth box:  [169.  23. 289.  65.]\n",
      "0.7764880414947778\n",
      "For brand:  Google Inc.+2020-05-26-12`45`16\n",
      "Predicted box:  tensor([[ 918.5532,  101.6380,  997.3751,  132.9663],\n",
      "        [ 897.6555,   93.9612, 1020.3049,  137.0211]], device='cuda:0')\n",
      "Ground-truth box:  [916. 101. 999. 130.]\n",
      "0.8465403718245464\n",
      "For brand:  Daum+2020-05-22-22`46`19\n",
      "Predicted box:  tensor([[621.9084,  15.0830, 742.1309,  73.0690]], device='cuda:0')\n",
      "Ground-truth box:  [622.  26. 746.  61.]\n",
      "0.5916417372867451\n",
      "For brand:  Universo Online+2020-05-24-03`10`03\n",
      "Predicted box:  tensor([[454.9933,  18.0466, 657.9791,  73.7058],\n",
      "        [199.1503, 127.1016, 575.9706, 538.5641]], device='cuda:0')\n",
      "Ground-truth box:  [467.  18. 579.  72.]\n",
      "0.5346053488540919\n",
      "For brand:  Daum+2020-05-24-13`08`08\n",
      "Predicted box:  tensor([[621.9084,  15.0830, 742.1309,  73.0690]], device='cuda:0')\n",
      "Ground-truth box:  [618.  17. 750.  61.]\n",
      "0.7063006863440082\n",
      "For brand:  Orange+2020-05-21-10`52`10\n",
      "Predicted box:  tensor([[  88.8031,   15.6786,  136.3791,   61.1339],\n",
      "        [ 995.0357,  125.8849, 1253.3192,  188.0302],\n",
      "        [  87.8391,  103.5325,  322.1375,  149.7696],\n",
      "        [  81.6706,   12.4780,  160.0033,   67.7653]], device='cuda:0')\n",
      "Ground-truth box:  [ 89.  18. 135.  61.]\n",
      "0.9146486199854494\n",
      "For brand:  Instagram+2020-05-21-10`45`38\n",
      "Predicted box:  tensor([[215.9022,  12.7381, 388.2859,  62.8211],\n",
      "        [319.4227, 144.1703, 507.4291, 219.7175],\n",
      "        [216.3683,  15.2481, 258.5148,  58.9787]], device='cuda:0')\n",
      "Ground-truth box:  [275.  12. 393.  58.]\n",
      "0.5739372725452465\n",
      "For brand:  PayPal Inc.+2020-05-25-16`23`41\n",
      "Predicted box:  tensor([[ 893.8328,  153.9438, 1026.3037,  197.6665]], device='cuda:0')\n",
      "Ground-truth box:  [ 893.  149. 1026.  195.]\n",
      "0.8369107127620613\n",
      "For brand:  Credit Agricole S.A.+2020-05-01-13`11`36\n",
      "Predicted box:  tensor([[377.3462,  17.4536, 679.5646, 100.1800],\n",
      "        [379.8929,  18.4245, 479.6602,  89.5194],\n",
      "        [385.4956, 359.1158, 498.1329, 388.0006]], device='cuda:0')\n",
      "Ground-truth box:  [381.  18. 477.  91.]\n",
      "0.9380516632131978\n",
      "For brand:  SunTrust Bank+2020-05-29-12`19`53\n",
      "Predicted box:  tensor([[788.8819,  64.3679, 961.8157, 157.4136]], device='cuda:0')\n",
      "Ground-truth box:  [786.  59. 967. 164.]\n",
      "0.8466583993321262\n",
      "For brand:  U.S. Bank+2020-05-23-23`09`10\n",
      "Predicted box:  tensor([[150.8211,   4.5031, 366.0259,  72.1442],\n",
      "        [149.3187,   6.3887, 544.9452,  77.5578],\n",
      "        [153.4739,   7.9656, 239.0021,  70.5393]], device='cuda:0')\n",
      "Ground-truth box:  [158.   9. 363.  63.]\n",
      "0.7604757718106246\n",
      "For brand:  RuneScape+2020-05-10-21`47`41\n",
      "Predicted box:  tensor([[ 531.0013,  162.5819,  682.5268,  233.4250],\n",
      "        [ 518.2438,  163.7682,  833.6099,  238.8645],\n",
      "        [  63.1304,    1.9198,  111.4053,   36.3978],\n",
      "        [ 912.2516,   71.4218, 1123.8065,  195.2315],\n",
      "        [ 689.0240,  178.2138,  829.1354,  227.9091]], device='cuda:0')\n",
      "Ground-truth box:  [694. 176. 830. 228.]\n",
      "0.917520933766781\n",
      "For brand:  Visa International Service Association+2020-05-13-13`17`40\n",
      "Predicted box:  tensor([[ 795.2011,  130.0394, 1074.8588,  272.1592],\n",
      "        [ 120.6001,   24.8849,  348.3948,   51.5536],\n",
      "        [ 292.7250,  152.6880,  688.6210,  203.9028],\n",
      "        [ 271.5947,  133.3646,  722.0994,  259.7104]], device='cuda:0')\n",
      "Ground-truth box:  [ 854.  198. 1040.  266.]\n",
      "0.31822952112224034\n",
      "For brand:  Frontier Communications+2020-05-08-03`32`54\n",
      "Predicted box:  tensor([[311.1711,  12.8711, 418.2892,  53.7368],\n",
      "        [290.2749,   5.1352, 440.4224,  64.8470]], device='cuda:0')\n",
      "Ground-truth box:  [326.   9. 422.  52.]\n",
      "0.7378354502012923\n",
      "For brand:  Global Sources (HK)+2020-05-04-14`00`07\n",
      "Predicted box:  tensor([[277.6941,  19.1258, 553.5167,  71.3865],\n",
      "        [286.8027,  20.7714, 384.6713,  67.5365]], device='cuda:0')\n",
      "Ground-truth box:  [286.  10. 552.  79.]\n",
      "0.7367942899676337\n",
      "For brand:  Amazon.com Inc.+2020-05-19-11`54`12\n",
      "Predicted box:  tensor([[   9.1624,   13.8381,  129.0329,   60.5945],\n",
      "        [1270.1414,    8.0419, 1349.0558,   51.0261],\n",
      "        [ 624.5135,  156.9043,  738.3582,  195.7487]], device='cuda:0')\n",
      "Ground-truth box:  [622. 154. 740. 191.]\n",
      "0.7910982885995087\n",
      "For brand:  Yahoo! Inc+2020-05-24-20`01`52\n",
      "Predicted box:  tensor([[  39.9495,   19.4800,  176.4957,   67.3014],\n",
      "        [1244.6152,  119.6288, 1342.3955,  153.5070]], device='cuda:0')\n",
      "Ground-truth box:  [ 42.  17. 175.  65.]\n",
      "0.8825736018695338\n",
      "For brand:  Americanas.com S,A Comercio Electrnico+2020-05-25-16`22`21\n",
      "Predicted box:  tensor([[ 312.3757,   62.9109,  545.8677,  114.8561],\n",
      "        [ 771.7034,    1.9266, 1095.4825,   50.3231],\n",
      "        [ 782.7844,    0.0000,  842.0633,   53.5546],\n",
      "        [ 405.3015,    2.4164, 1090.0188,   52.8349],\n",
      "        [ 400.7588,    4.6070,  799.6654,   45.9378]], device='cuda:0')\n",
      "Ground-truth box:  [316.  68. 540. 113.]\n",
      "0.8310802251848519\n",
      "For brand:  Grupo Santander+2020-05-24-03`39`17\n",
      "Predicted box:  tensor([[310.1191,  16.1097, 543.1992,  76.3103]], device='cuda:0')\n",
      "Ground-truth box:  [311.  24. 545.  79.]\n",
      "0.8231979182425813\n",
      "For brand:  Grupo Santander+2020-05-23-14`28`48\n",
      "Predicted box:  tensor([[ 397.2734,   19.9122,  554.3356,   61.9330],\n",
      "        [1016.3405,  119.4892, 1367.7285,  504.4649]], device='cuda:0')\n",
      "Ground-truth box:  [400.  19. 548.  70.]\n",
      "0.7843652992586607\n",
      "For brand:  Yahoo! Inc+2020-05-17-08`01`14\n",
      "Predicted box:  tensor([[  12.3127,    3.4332,  138.5563,   46.3821],\n",
      "        [ 946.2445,   98.0436, 1072.8733,  137.8717]], device='cuda:0')\n",
      "Ground-truth box:  [ 14.   3. 138.  46.]\n",
      "0.9639397405967455\n",
      "For brand:  Spotify+2020-05-01-20`40`29\n",
      "Predicted box:  tensor([[576.2704,  20.9580, 786.0440,  86.6035],\n",
      "        [578.4382,  19.6394, 646.3828,  86.2477]], device='cuda:0')\n",
      "Ground-truth box:  [578.  18. 788.  86.]\n",
      "0.9319868925799835\n",
      "For brand:  Cox Communications+2020-05-05-12`29`46\n",
      "Predicted box:  tensor([[302.1958,  46.5996, 373.2365,  77.1287]], device='cuda:0')\n",
      "Ground-truth box:  [295.  43. 380.  79.]\n",
      "0.7087605775905047\n",
      "For brand:  Netflix Inc.+2020-05-24-16`51`54\n",
      "Predicted box:  tensor([[  40.9777,   10.7601,  231.4922,   78.4965],\n",
      "        [1442.5457,  105.4242, 1641.2590,  157.0570],\n",
      "        [ 796.1047,  147.3356,  912.8599,  189.2860],\n",
      "        [ 301.9159,   30.7612,  504.2941,   96.0777],\n",
      "        [  40.9163,    9.6909,  514.5006,  100.3795],\n",
      "        [1190.1128,    5.1605, 1334.2854,   59.2766]], device='cuda:0')\n",
      "Ground-truth box:  [ 29.   5. 237.  75.]\n",
      "0.803791022451974\n",
      "For brand:  ATB Financial+2020-05-09-10`41`20\n",
      "Predicted box:  tensor([[403.2036,  53.0500, 958.4402, 112.1527],\n",
      "        [403.4390,  42.4357, 963.3982, 164.9379]], device='cuda:0')\n",
      "Ground-truth box:  [677.  56. 799. 113.]\n",
      "0.2081034906911084\n",
      "For brand:  WeTransfer+2020-05-14-18`29`03\n",
      "Predicted box:  tensor([[ 112.9007,  190.9590,  309.5269,  225.2466],\n",
      "        [  10.9186,   11.5920,   69.8478,   45.8812],\n",
      "        [ 826.1556,    0.0000, 1306.5388,  145.8289],\n",
      "        [ 743.4650,    9.6978, 1319.0516,  508.0147],\n",
      "        [ 821.1854,    0.0000,  979.2805,  141.1974],\n",
      "        [   8.4473,   12.3589,  110.3910,   53.5848],\n",
      "        [ 771.0402,    0.0000, 1354.5293,  255.1569],\n",
      "        [ 752.2402,  140.4430,  888.3223,  302.7599]], device='cuda:0')\n",
      "Ground-truth box:  [15. 17. 67. 45.]\n",
      "0.7205652530220441\n",
      "For brand:  WhatsApp+2020-05-01-19`19`15\n",
      "Predicted box:  tensor([[616.1250,  14.3201, 747.3364,  55.0180],\n",
      "        [646.4386,  80.8509, 719.0821, 150.2017],\n",
      "        [620.1480,  45.5233, 742.8038, 148.8314]], device='cuda:0')\n",
      "Ground-truth box:  [650.  88. 711. 146.]\n",
      "0.7022780477647269\n",
      "For brand:  Office365+2020-05-30-16`09`19\n",
      "Predicted box:  tensor([[778.6786, 395.8699, 896.6956, 430.6454]], device='cuda:0')\n",
      "Ground-truth box:  [774. 391. 900. 432.]\n",
      "0.7944441107732139\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "For brand:  Bank of America+2020-05-24-05`36`07\n",
      "Predicted box:  tensor([[400.3804,  15.1914, 637.0870,  54.2091],\n",
      "        [408.8907,  67.8057, 696.8959, 120.3435]], device='cuda:0')\n",
      "Ground-truth box:  [389.   9. 641.  53.]\n",
      "0.786827581556726\n",
      "For brand:  Credit Agricole S.A.+2020-05-13-15`01`10\n",
      "Predicted box:  tensor([[8.2310e-01, 8.4344e+00, 1.6893e+02, 5.5750e+01],\n",
      "        [1.2976e+03, 0.0000e+00, 1.3638e+03, 6.2534e+01]], device='cuda:0')\n",
      "Ground-truth box:  [  2.  15. 175.  55.]\n",
      "0.8146187346991997\n",
      "For brand:  AOL Inc.+2020-05-09-14`58`47\n",
      "Predicted box:  tensor([[   8.8535,    7.8413,  121.4528,   60.4073],\n",
      "        [ 959.1290,   96.2290, 1073.9072,  148.4207]], device='cuda:0')\n",
      "Ground-truth box:  [ 13.   8. 121.  60.]\n",
      "0.9488272345727303\n",
      "For brand:  1&1 Ionos+2020-05-19-03`46`41\n",
      "Predicted box:  tensor([[  45.5417,   30.1193,  103.0607,   85.2511],\n",
      "        [  34.6101,  115.8164,  290.7296,  162.2448],\n",
      "        [ 740.3893,  285.8365,  920.6290,  357.5871],\n",
      "        [1112.5458,  202.0880, 1359.8660,  728.6051],\n",
      "        [  40.2143,    1.7450,  214.0806,   26.3009]], device='cuda:0')\n",
      "Ground-truth box:  [ 47.  33. 102.  86.]\n",
      "0.8946234626503525\n",
      "For brand:  Dropbox, Inc.+2020-05-29-14`53`24\n",
      "Predicted box:  tensor([[ 855.2015,    6.1063, 1043.2012,   60.0619],\n",
      "        [ 630.1992,  257.8801, 1199.4122,  654.2495]], device='cuda:0')\n",
      "Ground-truth box:  [ 852.    7. 1045.   56.]\n",
      "0.8867344678191386\n",
      "For brand:  DocuSign+2020-05-02-14`39`23\n",
      "Predicted box:  tensor([[ 31.9777,  12.1489, 177.3122,  62.9337],\n",
      "        [587.3606, 274.6367, 799.4191, 319.4844],\n",
      "        [619.6294, 442.1208, 763.6625, 482.6562]], device='cuda:0')\n",
      "Ground-truth box:  [ 35.  16. 180.  72.]\n",
      "0.7571515285121925\n",
      "For brand:  Orange+2020-05-24-21`29`24\n",
      "Predicted box:  tensor([[ 364.1247,  104.0995,  600.8441,  149.1596],\n",
      "        [ 363.8751,   13.8940,  415.1143,   63.8667],\n",
      "        [1268.3329,  124.3460, 1538.3773,  189.4424]], device='cuda:0')\n",
      "Ground-truth box:  [369.  22. 412.  63.]\n",
      "0.68852216160485\n",
      "For brand:  SF Express Co.+2020-05-24-10`27`05\n",
      "Predicted box:  tensor([[667.7551,  15.9705, 823.1196,  83.5112],\n",
      "        [673.7213,  22.5074, 732.9827,  76.4442]], device='cuda:0')\n",
      "Ground-truth box:  [670.  22. 826.  87.]\n",
      "0.8398299680080444\n",
      "For brand:  Lloyds TSB Group+2020-05-30-16`31`35\n",
      "Predicted box:  tensor([[ 924.0173,    1.9936,  977.2264,   47.1196],\n",
      "        [ 784.3350,   71.1266, 1101.3876,  108.1961],\n",
      "        [ 904.5542,    1.8773, 1000.8146,   53.6569]], device='cuda:0')\n",
      "Ground-truth box:  [922.   2. 982.  41.]\n",
      "0.7783894990950283\n",
      "For brand:  DHL Airways, Inc.+2020-05-09-14`23`11\n",
      "Predicted box:  tensor([[236.7502,   9.5552, 369.1559,  43.7040],\n",
      "        [239.2383,  54.6653, 320.1823,  86.5454]], device='cuda:0')\n",
      "Ground-truth box:  [233.   7. 377.  41.]\n",
      "0.7924358385313175\n",
      "For brand:  DocuSign+2020-05-01-20`03`55\n",
      "Predicted box:  tensor([[ 31.9777,  12.1489, 177.3122,  62.9337],\n",
      "        [587.3606, 274.6367, 799.4191, 319.4844],\n",
      "        [619.6294, 442.1208, 763.6625, 482.6562]], device='cuda:0')\n",
      "Ground-truth box:  [ 30.  15. 180.  58.]\n",
      "0.8243048256170703\n",
      "For brand:  ICICI Bank Limited+2020-05-26-09`52`13\n",
      "Predicted box:  tensor([[ 192.3235,   19.0124,  381.0975,   75.5254],\n",
      "        [ 944.7193,  310.6157, 1154.7112,  366.3802]], device='cuda:0')\n",
      "Ground-truth box:  [184.  20. 389.  79.]\n",
      "0.8534641235184895\n",
      "For brand:  Office365+2020-05-27-16`45`31\n",
      "Predicted box:  tensor([[774.0413, 352.4866, 900.8907, 393.8945],\n",
      "        [778.6497, 356.5089, 810.5273, 391.8612]], device='cuda:0')\n",
      "Ground-truth box:  [770. 350. 909. 396.]\n",
      "0.8214842778839873\n",
      "For brand:  Visa International Service Association+2020-05-27-16`25`17\n",
      "Predicted box:  tensor([[1070.8781,  132.3238, 1359.8162,  271.7532],\n",
      "        [ 550.9613,  154.4147,  986.8937,  257.1908],\n",
      "        [ 532.6167,  132.2913, 1387.4523,  271.4319],\n",
      "        [ 416.8874,   26.4360,  629.7844,   50.1904],\n",
      "        [ 569.9675,  152.1727,  967.1906,  208.8510]], device='cuda:0')\n",
      "Ground-truth box:  [1135.  199. 1326.  270.]\n",
      "0.3366143285128036\n",
      "For brand:  Visa International Service Association+2020-05-12-12`29`54\n",
      "Predicted box:  tensor([[ 795.2011,  130.0394, 1074.8588,  272.1592],\n",
      "        [ 120.6001,   24.8849,  348.3948,   51.5536],\n",
      "        [ 292.7250,  152.6880,  688.6210,  203.9028],\n",
      "        [ 271.5947,  133.3646,  722.0994,  259.7104]], device='cuda:0')\n",
      "Ground-truth box:  [ 858.  198. 1043.  268.]\n",
      "0.3258279805924267\n",
      "For brand:  ATB Financial+2020-05-11-16`52`26\n",
      "Predicted box:  tensor([[403.2036,  53.0500, 958.4402, 112.1527],\n",
      "        [403.4390,  42.4357, 963.3982, 164.9379]], device='cuda:0')\n",
      "Ground-truth box:  [691.  59. 788. 109.]\n",
      "0.14779391743058173\n",
      "For brand:  Orange+2020-05-24-18`50`04\n",
      "Predicted box:  tensor([[ 61.3503, 103.3629, 300.4544, 144.7197]], device='cuda:0')\n",
      "Ground-truth box:  [367.  19. 412.  63.]\n",
      "0\n",
      "For brand:  Etisalat+2020-05-21-11`08`10\n",
      "Predicted box:  tensor([[177.8719,   0.8159, 255.4142,  83.4535],\n",
      "        [478.2482, 273.8938, 556.9481, 329.6335]], device='cuda:0')\n",
      "Ground-truth box:  [184.  -1. 255.  81.]\n",
      "0.870921495236845\n",
      "For brand:  SF Express Co.+2020-05-30-15`39`46\n",
      "Predicted box:  tensor([[2.8904e+02, 2.2912e+00, 4.9943e+02, 5.4761e+01],\n",
      "        [5.6255e+02, 1.3164e+01, 9.8538e+02, 4.3820e+01],\n",
      "        [2.9606e+02, 3.8238e+00, 3.4816e+02, 5.3454e+01],\n",
      "        [2.9314e+02, 1.8084e+00, 3.9448e+02, 5.2144e+01],\n",
      "        [8.6858e+02, 6.1218e+01, 1.2532e+03, 2.5608e+02],\n",
      "        [3.7908e+02, 1.1441e+00, 9.8430e+02, 5.0705e+01]], device='cuda:0')\n",
      "Ground-truth box:  [301.   8. 347.  56.]\n",
      "0.7735008559353365\n",
      "For brand:  Discover+2020-05-25-15`07`20\n",
      "Predicted box:  tensor([[ 472.4874,   12.7459,  602.6151,   49.4714],\n",
      "        [ 468.4747,    8.2265,  706.9112,   49.4067],\n",
      "        [ 821.4806,   70.8696, 1302.0404,  105.1759]], device='cuda:0')\n",
      "Ground-truth box:  [468.   7. 601.  48.]\n",
      "0.7946442149864668\n",
      "For brand:  Instagram+2020-05-02-13`21`33\n",
      "Predicted box:  tensor([[  1.4958,   1.9024, 186.9296,  46.6442],\n",
      "        [629.6824, 151.3509, 735.7216, 245.7148],\n",
      "        [  1.8629,   3.0197,  44.1875,  44.4870]], device='cuda:0')\n",
      "Ground-truth box:  [ 68.  -1. 192.  45.]\n",
      "0.577526259078869\n",
      "For brand:  Bank of America+2020-05-16-20`36`32\n",
      "Predicted box:  tensor([[208.3638,  11.1951, 427.4804,  55.7487],\n",
      "        [211.3130, 148.4138, 265.6853, 204.3016]], device='cuda:0')\n",
      "Ground-truth box:  [202.   9. 435.  60.]\n",
      "0.8215450769244577\n",
      "For brand:  Netflix Inc.+2020-05-29-14`39`12\n",
      "Predicted box:  tensor([[  40.9777,   10.7601,  231.4922,   78.4965],\n",
      "        [1442.5460,  105.4241, 1641.2588,  157.0569],\n",
      "        [ 796.1038,  147.3364,  912.8396,  189.2862],\n",
      "        [ 301.9159,   30.7612,  504.2941,   96.0777],\n",
      "        [  40.9163,    9.6909,  514.5006,  100.3795],\n",
      "        [1190.1086,    5.1591, 1334.2841,   59.2778]], device='cuda:0')\n",
      "Ground-truth box:  [ 36.   7. 255.  82.]\n",
      "0.785678775489352\n",
      "For brand:  HSBC Bank+2020-05-23-18`56`46\n",
      "Predicted box:  tensor([[487.4326,  58.6101, 626.9734, 104.4895],\n",
      "        [487.4640,  64.6863, 566.7908, 101.9163]], device='cuda:0')\n",
      "Ground-truth box:  [495.  58. 598. 104.]\n",
      "0.7231610290505511\n",
      "For brand:  DocuSign+2020-05-23-15`22`13\n",
      "Predicted box:  tensor([[235.2545,   6.7618, 647.3311, 107.2325]], device='cuda:0')\n",
      "Ground-truth box:  [227.   7. 512.  97.]\n",
      "0.5909923523998878\n",
      "For brand:  Orange+2020-05-21-20`28`17\n",
      "Predicted box:  tensor([[364.1247, 104.0995, 600.8441, 149.1596],\n",
      "        [363.8751,  13.8940, 415.1143,  63.8667]], device='cuda:0')\n",
      "Ground-truth box:  [369.  19. 412.  65.]\n",
      "0.7393843755461383\n",
      "For brand:  DHL Airways, Inc.+2020-05-19-07`19`17\n",
      "Predicted box:  tensor([[229.8939,  17.7883, 703.2397, 142.9049],\n",
      "        [609.8718,  77.2291, 739.4426, 126.6136]], device='cuda:0')\n",
      "Ground-truth box:  [246.  21. 613. 142.]\n",
      "0.7498215838697987\n",
      "For brand:  Chase Personal Banking+2020-05-17-08`12`49\n",
      "Predicted box:  tensor([[ 184.5940,   51.3466,  329.2313,   93.0838],\n",
      "        [ 168.6791,    4.5206,  287.6588,   28.5641],\n",
      "        [ 206.5027,  256.5717,  579.9937,  332.0698],\n",
      "        [1083.8020,   61.7053, 1155.2881,   83.7957]], device='cuda:0')\n",
      "Ground-truth box:  [186.  54. 326.  92.]\n",
      "0.8812676814473147\n",
      "For brand:  Cox Communications+2020-05-07-22`34`16\n",
      "Predicted box:  tensor([[302.1958,  46.5996, 373.2365,  77.1287]], device='cuda:0')\n",
      "Ground-truth box:  [299.  43. 374.  77.]\n",
      "0.8438998735025182\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "For brand:  ING+2020-05-02-17`11`56\n",
      "Predicted box:  tensor([[1026.8337,  277.6533, 1162.1809,  319.4864],\n",
      "        [ 989.5479,  267.6608, 1169.5695,  332.1252]], device='cuda:0')\n",
      "Ground-truth box:  [1025.  267. 1165.  322.]\n",
      "0.7353246264511597\n",
      "For brand:  Landesbank Berlin AG+2020-05-01-13`28`40\n",
      "Predicted box:  tensor([[  25.0259,   13.2470,   99.4011,   50.2196],\n",
      "        [  19.0359,    9.3723,  212.4113,   50.2423],\n",
      "        [1232.6244,   43.0788, 1349.4478,  156.1063],\n",
      "        [ 108.3348,   15.2734,  207.5331,   49.0285]], device='cuda:0')\n",
      "Ground-truth box:  [ 26.  11. 213.  53.]\n",
      "0.866521714388296\n",
      "For brand:  Daum+2020-05-21-20`11`55\n",
      "Predicted box:  tensor([[ 903.7900,   16.6775, 1018.7609,   73.1441]], device='cuda:0')\n",
      "Ground-truth box:  [ 895.   20. 1030.   67.]\n",
      "0.726940913572019\n",
      "For brand:  Canadian Imperial Bank of Commerce+2020-05-02-15`57`16\n",
      "Predicted box:  tensor([[651.7001,   3.1026, 713.0119,  55.6542],\n",
      "        [628.2126,   0.0000, 733.8965,  63.2607]], device='cuda:0')\n",
      "Ground-truth box:  [656.   5. 710.  53.]\n",
      "0.8044605544818524\n",
      "For brand:  AT&T Inc.+2020-05-13-12`57`08\n",
      "Predicted box:  tensor([[287.7821,   2.7511, 363.5023,  66.9022],\n",
      "        [265.0983,   1.0447, 417.1711,  72.3905],\n",
      "        [568.8600, 702.5846, 791.4515, 743.6398]], device='cuda:0')\n",
      "Ground-truth box:  [294.   4. 356.  64.]\n",
      "0.7658211908112618\n",
      "For brand:  Mastercard International Incorporated+2020-05-27-17`14`49\n",
      "Predicted box:  tensor([[ 903.8948,    2.3289, 1015.7643,   67.4424],\n",
      "        [ 795.8875,    4.3994, 1123.1741,  102.9240],\n",
      "        [ 870.4372,    1.4659, 1072.1915,   79.5526],\n",
      "        [ 794.7408,   59.7037, 1125.4188,   92.6696]], device='cuda:0')\n",
      "Ground-truth box:  [ 904.    5. 1028.   61.]\n",
      "0.7853518940204418\n",
      "For brand:  Chronopost International+2020-05-01-19`47`43\n",
      "Predicted box:  tensor([[6.0232e-02, 2.7115e+01, 2.9775e+02, 1.0857e+02],\n",
      "        [0.0000e+00, 3.3248e+01, 5.6908e+01, 1.0645e+02]], device='cuda:0')\n",
      "Ground-truth box:  [  0.  35. 295.  98.]\n",
      "0.766167219175536\n",
      "For brand:  Lloyds TSB Group+2020-05-23-22`26`33\n",
      "Predicted box:  tensor([[ 924.3199,    2.9694,  977.4374,   47.6632],\n",
      "        [ 782.8500,   72.3359, 1100.8932,  111.1749]], device='cuda:0')\n",
      "Ground-truth box:  [917.   2. 982.  39.]\n",
      "0.6679723281984319\n",
      "For brand:  WeTransfer+2020-05-02-04`34`35\n",
      "Predicted box:  tensor([[ 96.3524, 190.1230, 274.0939, 233.3800],\n",
      "        [498.8366,  13.8486, 528.2800,  44.1642],\n",
      "        [ 14.3895,  14.0143,  65.3459,  42.0503],\n",
      "        [ 97.3254, 190.8613, 139.0832, 232.9780]], device='cuda:0')\n",
      "Ground-truth box:  [10. 15. 67. 42.]\n",
      "0.8643238801347052\n",
      "For brand:  Absa Group+2020-05-01-18`49`00\n",
      "Predicted box:  tensor([[  6.7630,   7.4717,  58.0645,  55.3029],\n",
      "        [  0.0000,   4.5076,  99.5576,  59.3069],\n",
      "        [  1.2360,   2.5446, 195.8391,  60.6271]], device='cuda:0')\n",
      "Ground-truth box:  [ 8.  7. 57. 55.]\n",
      "0.9402321225421709\n",
      "For brand:  Steam+2020-05-24-14`46`29\n",
      "Predicted box:  tensor([[481.7389,  20.3551, 640.5421,  76.4594]], device='cuda:0')\n",
      "Ground-truth box:  [483.  22. 640.  82.]\n",
      "0.8742984534422896\n",
      "For brand:  Itau Unibanco S.A+2020-05-01-21`34`39\n",
      "Predicted box:  tensor([[6.0142e+02, 6.7202e-01, 7.6665e+02, 5.0820e+01],\n",
      "        [2.0217e+02, 7.0003e+01, 2.9298e+02, 1.2613e+02],\n",
      "        [1.0793e+03, 6.7773e+01, 1.1502e+03, 1.2467e+02],\n",
      "        [6.3354e+02, 6.8780e+01, 7.2939e+02, 1.2455e+02]], device='cuda:0')\n",
      "Ground-truth box:  [600.   9. 767.  51.]\n",
      "0.8235955471742505\n",
      "For brand:  Bank of America+2020-05-02-15`01`48\n",
      "Predicted box:  tensor([[212.5094,  13.7706, 427.1459,  53.2428]], device='cuda:0')\n",
      "Ground-truth box:  [212.  12. 429.  58.]\n",
      "0.8487467390644368\n",
      "For brand:  Americanas.com S,A Comercio Electrnico+2020-05-23-20`13`44\n",
      "Predicted box:  tensor([[ 309.6703,   62.7103,  549.9011,  116.1685],\n",
      "        [ 771.4995,    1.9356, 1095.4020,   50.3049],\n",
      "        [ 405.5843,    2.4419, 1084.5366,   52.7633],\n",
      "        [ 782.7784,    0.0000,  842.0639,   53.5522],\n",
      "        [ 400.5587,    4.6357,  799.6346,   45.9778]], device='cuda:0')\n",
      "Ground-truth box:  [315.  70. 541. 112.]\n",
      "0.7391192195804929\n",
      "For brand:  First Investment Bank+2020-05-24-17`40`05\n",
      "Predicted box:  tensor([[  6.3046,  13.1531, 164.5816,  73.9000]], device='cuda:0')\n",
      "Ground-truth box:  [ 10.   7. 162.  72.]\n",
      "0.8478326605083489\n",
      "For brand:  SF Express Co.+2020-05-29-14`26`02\n",
      "Predicted box:  tensor([[667.8545,  15.8791, 823.6483,  83.4861],\n",
      "        [673.7634,  22.4904, 732.9040,  76.4603]], device='cuda:0')\n",
      "Ground-truth box:  [670.  22. 824.  84.]\n",
      "0.8884398490908727\n",
      "For brand:  WeTransfer+2020-05-29-13`30`39\n",
      "Predicted box:  tensor([[118.0385,  95.9703, 317.9131, 246.4612],\n",
      "        [ 10.3206,  11.1263,  70.1973,  44.9224],\n",
      "        [157.9913,  99.7100, 279.2544, 207.1111]], device='cuda:0')\n",
      "Ground-truth box:  [ 9.  9. 69. 49.]\n",
      "0.8126039496434322\n",
      "For brand:  Canadian Imperial Bank of Commerce+2020-05-30-15`49`15\n",
      "Predicted box:  tensor([[927.7833,   1.9155, 991.3455,  54.8991]], device='cuda:0')\n",
      "Ground-truth box:  [934.   5. 984.  53.]\n",
      "0.712641142934934\n",
      "For brand:  Dropbox, Inc.+2020-05-27-13`58`57\n",
      "Predicted box:  tensor([[ 855.2015,    6.1063, 1043.2012,   60.0619],\n",
      "        [ 630.1992,  257.8801, 1199.4122,  654.2495]], device='cuda:0')\n",
      "Ground-truth box:  [ 851.    5. 1045.   60.]\n",
      "0.9485439765973729\n",
      "For brand:  Banco do Brasil S.A.+2020-05-17-09`45`08\n",
      "Predicted box:  tensor([[ 36.2261,  16.8562, 126.8633, 103.1367],\n",
      "        [ 25.1383,  18.3293, 184.8109, 123.8953]], device='cuda:0')\n",
      "Ground-truth box:  [ 43.  20. 121. 101.]\n",
      "0.8079057376030203\n",
      "For brand:  DHL Airways, Inc.+2020-05-14-10`17`55\n",
      "Predicted box:  tensor([[ 124.0462,   32.6617,  239.8380,   69.3265],\n",
      "        [ 122.3428,   26.5241,  322.7932,   74.3228],\n",
      "        [ 165.4162,  631.6176,  319.0494,  769.3173],\n",
      "        [ 149.1363,  611.5040, 1202.7458,  790.6730],\n",
      "        [ 111.3232,   22.9195,  244.4736,   86.6998]], device='cuda:0')\n",
      "Ground-truth box:  [116.  28. 248.  67.]\n",
      "0.7339509118833724\n",
      "For brand:  Chronopost International+2020-05-02-14`27`00\n",
      "Predicted box:  tensor([[4.1468e-02, 2.7140e+01, 2.9777e+02, 1.0857e+02],\n",
      "        [0.0000e+00, 3.3247e+01, 5.6909e+01, 1.0645e+02],\n",
      "        [9.5606e+02, 6.7042e+02, 1.1170e+03, 7.1067e+02],\n",
      "        [2.0666e+02, 6.6848e+02, 3.4869e+02, 7.1312e+02]], device='cuda:0')\n",
      "Ground-truth box:  [  1.  30. 300.  96.]\n",
      "0.8029942591097858\n",
      "For brand:  Credit Agricole S.A.+2020-05-02-17`40`33\n",
      "Predicted box:  tensor([[377.3462,  17.4536, 679.5646, 100.1800],\n",
      "        [379.8929,  18.4245, 479.6602,  89.5194],\n",
      "        [385.4956, 359.1158, 498.1329, 388.0006]], device='cuda:0')\n",
      "Ground-truth box:  [386.  22. 480.  94.]\n",
      "0.8390378962931071\n",
      "For brand:  Caixa Economica Federal+2020-05-27-16`28`22\n",
      "Predicted box:  tensor([[ 877.4521,    4.9915, 1043.8756,   52.6958],\n",
      "        [ 920.8982,  509.5071,  997.4323,  578.5673]], device='cuda:0')\n",
      "Ground-truth box:  [ 868.    2. 1045.   55.]\n",
      "0.8462980844752925\n",
      "For brand:  Comcast Corporation+2020-05-02-18`36`18\n",
      "Predicted box:  tensor([[ 925.7764,   81.5222, 1061.0620,  136.0256],\n",
      "        [ 219.4385,   64.6739,  779.9771,  103.5040]], device='cuda:0')\n",
      "Ground-truth box:  [ 931.   81. 1067.  140.]\n",
      "0.8531810053468961\n",
      "For brand:  T-Online+2020-05-16-23`29`27\n",
      "Predicted box:  tensor([[ 189.0662,   22.0380,  264.1137,   67.3736],\n",
      "        [1006.1437,   26.9020, 1178.1149,   55.6058],\n",
      "        [ 483.4535,  209.0277,  887.1916,  259.7943],\n",
      "        [ 165.4675,   17.1533,  284.4449,   81.0564]], device='cuda:0')\n",
      "Ground-truth box:  [189.  23. 262.  67.]\n",
      "0.9423969054306597\n",
      "For brand:  Orange+2020-05-21-11`06`27\n",
      "Predicted box:  tensor([[  88.8031,   15.6786,  136.3791,   61.1339],\n",
      "        [ 995.0357,  125.8849, 1253.3192,  188.0302],\n",
      "        [  87.8391,  103.5325,  322.1375,  149.7696],\n",
      "        [  81.6706,   12.4780,  160.0033,   67.7653]], device='cuda:0')\n",
      "Ground-truth box:  [ 93.  20. 135.  63.]\n",
      "0.770931575683693\n",
      "For brand:  AOL Inc.+2020-05-01-22`03`12\n",
      "Predicted box:  tensor([[ 37.7597,  16.3060, 129.9186,  61.6528],\n",
      "        [877.1461,  92.6757, 965.8526, 138.7515],\n",
      "        [555.2564, 238.3948, 722.6171, 266.2807],\n",
      "        [554.9781, 240.0310, 594.6207, 262.9463]], device='cuda:0')\n",
      "Ground-truth box:  [ 43.  18. 127.  62.]\n",
      "0.8713383443208371\n",
      "For brand:  Apple Inc.+2020-05-23-21`39`04\n",
      "Predicted box:  tensor([[  11.5597,    7.7842,   36.2411,   34.3951],\n",
      "        [ 896.2251,  351.0987, 1018.5349,  458.6926],\n",
      "        [  10.0388,    6.6229,   53.7671,   38.1723]], device='cuda:0')\n",
      "Ground-truth box:  [10. 10. 40. 33.]\n",
      "0.72860478534094\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "For brand:  RBC Royal Bank+2020-05-01-15`11`13\n",
      "Predicted box:  tensor([[187.2584,   6.6617, 243.6539,  65.0123],\n",
      "        [186.3052,   2.9702, 415.1769,  66.3141]], device='cuda:0')\n",
      "Ground-truth box:  [185.   1. 414.  63.]\n",
      "0.9095864728550934\n",
      "For brand:  Navy Federal Credit Union+2020-05-02-15`46`26\n",
      "Predicted box:  tensor([[259.2653,  13.5321, 383.6617,  97.9808],\n",
      "        [246.5173,   8.9682, 484.9713, 105.6667]], device='cuda:0')\n",
      "Ground-truth box:  [251.   7. 489. 105.]\n",
      "0.9395827710713929\n",
      "For brand:  1&1 Ionos+2020-05-21-20`57`41\n",
      "Predicted box:  tensor([[ 12.5842,   7.6489, 148.9234,  56.9894],\n",
      "        [  8.8990,   4.2592, 241.3901,  62.2922]], device='cuda:0')\n",
      "Ground-truth box:  [ 18.  11. 143.  49.]\n",
      "0.7061056571227687\n",
      "For brand:  Facebook, Inc.+2020-05-21-11`36`21\n",
      "Predicted box:  tensor([[126.7991,  14.4359, 316.9316,  70.2700]], device='cuda:0')\n",
      "Ground-truth box:  [136.  16. 314.  68.]\n",
      "0.8719011084393495\n",
      "For brand:  Wells Fargo & Company+2020-05-25-05`50`16\n",
      "Predicted box:  tensor([[451.4560,   8.3024, 704.6816,  48.3300]], device='cuda:0')\n",
      "Ground-truth box:  [451.  -1. 700.  55.]\n",
      "0.7040090723142073\n",
      "For brand:  Apple Inc.+2020-05-16-12`47`24\n",
      "Predicted box:  tensor([[261.5999,  47.6594, 366.1363,  80.5748]], device='cuda:0')\n",
      "Ground-truth box:  [264.   8. 289.  30.]\n",
      "0\n",
      "For brand:  Banco do Brasil S.A.+2020-05-21-12`26`23\n",
      "Predicted box:  tensor([[623.4242, 289.1803, 740.8098, 401.9568],\n",
      "        [607.8959,   5.4277, 757.5018,  31.5811]], device='cuda:0')\n",
      "Ground-truth box:  [633. 298. 732. 394.]\n",
      "0.7179144740552721\n",
      "For brand:  TradeKey+2020-05-09-13`04`03\n",
      "Predicted box:  tensor([[291.0074,  27.4981, 512.2591,  74.0970]], device='cuda:0')\n",
      "Ground-truth box:  [292.  28. 512.  70.]\n",
      "0.8962105576909504\n",
      "For brand:  Bank of America+2020-05-29-16`09`31\n",
      "Predicted box:  tensor([[ 840.7844,    7.1598, 1067.0627,   47.7107],\n",
      "        [ 832.9011,    9.7277, 1071.8628,  105.0363],\n",
      "        [ 867.0115,   49.2115, 1058.0132,  107.4459],\n",
      "        [ 799.5026,    3.0182, 1117.1406,  146.8723]], device='cuda:0')\n",
      "Ground-truth box:  [ 825.    7. 1081.   44.]\n",
      "0.8084206026109\n",
      "For brand:  SF Express Co.+2020-05-24-19`27`28\n",
      "Predicted box:  tensor([[2.8904e+02, 2.2912e+00, 4.9943e+02, 5.4761e+01],\n",
      "        [5.6255e+02, 1.3164e+01, 9.8538e+02, 4.3820e+01],\n",
      "        [2.9606e+02, 3.8238e+00, 3.4816e+02, 5.3454e+01],\n",
      "        [2.9314e+02, 1.8084e+00, 3.9448e+02, 5.2144e+01],\n",
      "        [8.6858e+02, 6.1218e+01, 1.2532e+03, 2.5608e+02],\n",
      "        [3.7908e+02, 1.1441e+00, 9.8430e+02, 5.0705e+01]], device='cuda:0')\n",
      "Ground-truth box:  [298.   5. 351.  56.]\n",
      "0.8503515205531572\n",
      "For brand:  Spotify+2020-05-03-11`09`20\n",
      "Predicted box:  tensor([[576.2704,  20.9580, 786.0440,  86.6035],\n",
      "        [578.4382,  19.6394, 646.3828,  86.2477]], device='cuda:0')\n",
      "Ground-truth box:  [575.  19. 782.  91.]\n",
      "0.8902897606077337\n",
      "For brand:  Apple Inc.+2020-05-24-22`23`39\n",
      "Predicted box:  tensor([[  11.5597,    7.7842,   36.2411,   34.3951],\n",
      "        [ 896.2251,  351.0987, 1018.5349,  458.6926],\n",
      "        [  10.0388,    6.6229,   53.7671,   38.1723]], device='cuda:0')\n",
      "Ground-truth box:  [11. 10. 36. 35.]\n",
      "0.8696745497981209\n",
      "For brand:  Daum+2020-05-21-10`27`48\n",
      "Predicted box:  tensor([[626.3383,  19.6323, 737.7531,  68.2373]], device='cuda:0')\n",
      "Ground-truth box:  [619.  12. 750.  68.]\n",
      "0.7319416709366268\n",
      "For brand:  Canadian Imperial Bank of Commerce+2020-05-30-10`40`47\n",
      "Predicted box:  tensor([[379.7129,   4.2976, 670.6085,  88.1315],\n",
      "        [383.5941,   3.3837, 472.7298,  86.4100]], device='cuda:0')\n",
      "Ground-truth box:  [391.  10. 470.  82.]\n",
      "0.7685862689471963\n",
      "For brand:  Global Sources (HK)+2020-05-14-12`35`22\n",
      "Predicted box:  tensor([[290.2618,   6.4414, 549.6610,  51.9346]], device='cuda:0')\n",
      "Ground-truth box:  [282.   4. 557.  51.]\n",
      "0.8778069327919601\n",
      "For brand:  Alibaba+2020-05-18-15`42`38\n",
      "Predicted box:  tensor([[281.2153,   6.9726, 492.5887,  55.2322]], device='cuda:0')\n",
      "Ground-truth box:  [286.   9. 491.  50.]\n",
      "0.8239543678481634\n",
      "For brand:  Scotiabank+2020-05-18-13`55`52\n",
      "Predicted box:  tensor([[112.6929,   6.2131, 476.6378,  51.4864],\n",
      "        [107.7602,   6.7791, 295.6854,  51.0644]], device='cuda:0')\n",
      "Ground-truth box:  [102.   1. 283.  51.]\n",
      "0.8052799547729552\n",
      "For brand:  MWeb+2020-05-25-07`23`35\n",
      "Predicted box:  tensor([[4.4938e+02, 9.9445e+00, 5.5019e+02, 1.1110e+02],\n",
      "        [4.5167e+02, 2.7442e-01, 7.7413e+02, 1.4778e+02],\n",
      "        [4.1456e+02, 6.1590e+00, 6.0706e+02, 1.2175e+02]], device='cuda:0')\n",
      "Ground-truth box:  [460.  20. 541. 104.]\n",
      "0.6672150097528496\n",
      "For brand:  WhatsApp+2020-05-02-18`18`58\n",
      "Predicted box:  tensor([[442.9761,  17.1397, 921.5752, 129.7528],\n",
      "        [641.9527, 183.0827, 722.4186, 261.7449]], device='cuda:0')\n",
      "Ground-truth box:  [648. 185. 721. 260.]\n",
      "0.8649806852982594\n",
      "For brand:  AT&T Inc.+2020-05-30-10`41`04\n",
      "Predicted box:  tensor([[913.7335,  12.8526, 988.5401,  85.1143]], device='cuda:0')\n",
      "Ground-truth box:  [918.  16. 982.  83.]\n",
      "0.7932431870908492\n",
      "For brand:  Bank of The Bahamas Limited+2020-05-17-09`40`07\n",
      "Predicted box:  tensor([[  13.3838,   40.1469,  224.4721,  137.9048],\n",
      "        [ 169.1419,  157.0552, 1208.2579,  270.3390],\n",
      "        [ 695.5411,  162.2618, 1181.7719,  266.6138],\n",
      "        [ 214.2291,  162.1579,  468.0729,  266.4148]], device='cuda:0')\n",
      "Ground-truth box:  [  7.  34. 226. 138.]\n",
      "0.9060217746525596\n",
      "For brand:  Adobe Inc.+2020-05-02-00`18`05\n",
      "Predicted box:  tensor([[105.4764,   5.3703, 360.4483,  60.9401],\n",
      "        [113.8131,   2.5973, 162.1617,  62.9856]], device='cuda:0')\n",
      "Ground-truth box:  [117.   7. 162.  64.]\n",
      "0.8495998365637888\n",
      "For brand:  American Express+2020-05-30-14`09`25\n",
      "Predicted box:  tensor([[ 77.6306,  11.6150, 130.9930,  63.4797],\n",
      "        [ 69.5326,   8.9300, 225.7862,  65.1736],\n",
      "        [134.5801,  22.0442, 226.9725,  54.5531]], device='cuda:0')\n",
      "Ground-truth box:  [ 81.  13. 130.  63.]\n",
      "0.8852353765065029\n",
      "For brand:  Yahoo! Inc+2020-05-24-22`52`27\n",
      "Predicted box:  tensor([[1231.0706,  103.4360, 1358.6578,  145.8550]], device='cuda:0')\n",
      "Ground-truth box:  [1226.  101. 1361.  149.]\n",
      "0.8352047454941078\n",
      "For brand:  Adobe Inc.+2020-05-02-19`22`43\n",
      "Predicted box:  tensor([[105.4139,   5.3865, 360.3050,  60.9860],\n",
      "        [113.8115,   2.6001, 162.1789,  62.9864]], device='cuda:0')\n",
      "Ground-truth box:  [109.   6. 167.  67.]\n",
      "0.7444508206015539\n",
      "For brand:  Bank of America+2020-05-24-19`43`01\n",
      "Predicted box:  tensor([[ 314.6167,   43.1482,  638.1870,   80.7695],\n",
      "        [ 302.6380,   33.4361,  648.4495,  111.5018],\n",
      "        [ 926.3890,    3.4772, 1023.1511,   28.5621]], device='cuda:0')\n",
      "Ground-truth box:  [316.  36. 637.  70.]\n",
      "0.5957686845948204\n",
      "For brand:  Yahoo! Inc+2020-05-21-12`22`29\n",
      "Predicted box:  tensor([[  14.4613,    5.5744,  134.6798,   47.0918],\n",
      "        [ 954.8582,   93.4865, 1082.1216,  136.8139],\n",
      "        [ 420.9658,   91.3016,  792.5781,  403.6993],\n",
      "        [ 447.4942,  112.7206,  758.8380,  178.2412]], device='cuda:0')\n",
      "Ground-truth box:  [ 15.   8. 137.  46.]\n",
      "0.8953615144889261\n",
      "For brand:  DGI (French Tax Authority)+2020-05-14-18`37`05\n",
      "Predicted box:  tensor([[ 108.0337,   37.6887,  196.7834,   96.4508],\n",
      "        [  98.3487,   26.4744,  500.0681,  100.9762],\n",
      "        [1010.1821,   15.5439, 1229.1997,   58.6593],\n",
      "        [1004.3770,   66.6271, 1238.4110,  113.1412],\n",
      "        [ 220.7881,   35.8283,  500.8782,   75.7168]], device='cuda:0')\n",
      "Ground-truth box:  [111.  35. 198.  95.]\n",
      "0.8908427046395035\n",
      "For brand:  Simplii Financial+2020-05-30-10`38`25\n",
      "Predicted box:  tensor([[ 898.5253,    6.7332, 1019.6650,   57.2518]], device='cuda:0')\n",
      "Ground-truth box:  [ 905.   10. 1016.   57.]\n",
      "0.8524774366402512\n",
      "For brand:  Microsoft OneDrive+2020-05-02-10`19`30\n",
      "Predicted box:  tensor([[ 160.7458,   80.8321,  254.7671,  141.6368],\n",
      "        [1149.4796,  121.9281, 1293.0770,  189.5593],\n",
      "        [ 949.9776,  134.5387, 1027.9656,  182.2042],\n",
      "        [  46.7767,   73.2720,  370.5599,  216.0111],\n",
      "        [ 607.8953,  210.7934,  740.2177,  383.6362],\n",
      "        [  48.3792,  161.1727,  369.3842,  203.9352]], device='cuda:0')\n",
      "Ground-truth box:  [157.  83. 266. 148.]\n",
      "0.7563777704387734\n",
      "For brand:  Apple Inc.+2020-05-23-12`51`55\n",
      "Predicted box:  tensor([[  11.5597,    7.7842,   36.2411,   34.3951],\n",
      "        [ 896.2251,  351.0987, 1018.5349,  458.6926],\n",
      "        [  10.0388,    6.6229,   53.7671,   38.1723]], device='cuda:0')\n",
      "Ground-truth box:  [10. 10. 37. 36.]\n",
      "0.7957118068053124\n",
      "For brand:  Comcast Corporation+2020-05-19-06`41`34\n",
      "Predicted box:  tensor([[854.9058,  51.5163, 988.8532,  98.9887],\n",
      "        [490.4608,  46.3094, 618.6053,  72.4401]], device='cuda:0')\n",
      "Ground-truth box:  [ 852.   47. 1006.   96.]\n",
      "0.7498415609192557\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "For brand:  Grupo Santander+2020-05-24-04`04`37\n",
      "Predicted box:  tensor([[310.1194,  16.1100, 543.1975,  76.3109]], device='cuda:0')\n",
      "Ground-truth box:  [316.  22. 545.  79.]\n",
      "0.8368335948369122\n",
      "For brand:  1&1 Ionos+2020-05-23-19`25`44\n",
      "Predicted box:  tensor([[  8.0636,   8.9299, 152.8009,  59.5841]], device='cuda:0')\n",
      "Ground-truth box:  [ 15.  16. 149.  51.]\n",
      "0.6397001822905589\n",
      "For brand:  M & T Bank Coporation+2020-05-13-11`33`47\n",
      "Predicted box:  tensor([[610.7418,   5.4179, 752.1721,  45.4357]], device='cuda:0')\n",
      "Ground-truth box:  [610.   3. 755.  49.]\n",
      "0.8485355033326881\n",
      "For brand:  Cox Communications+2020-05-19-04`36`52\n",
      "Predicted box:  tensor([[302.1958,  46.5996, 373.2365,  77.1287]], device='cuda:0')\n",
      "Ground-truth box:  [297.  43. 371.  79.]\n",
      "0.7687833584066256\n",
      "For brand:  RBC Royal Bank+2020-05-25-18`13`37\n",
      "Predicted box:  tensor([[458.0636,   4.1492, 602.7695,  52.8284],\n",
      "        [465.2293,   6.7249, 509.2480,  51.7137]], device='cuda:0')\n",
      "Ground-truth box:  [465.   6. 601.  48.]\n",
      "0.8108841771755337\n",
      "For brand:  Navy Federal Credit Union+2020-05-02-06`38`42\n",
      "Predicted box:  tensor([[259.2572,  13.5268, 383.6563,  97.9821],\n",
      "        [246.3104,   8.9335, 485.0461, 105.7227]], device='cuda:0')\n",
      "Ground-truth box:  [253.  14. 496. 100.]\n",
      "0.8298015184217412\n",
      "For brand:  Suncorp Group+2020-05-23-19`01`01\n",
      "Predicted box:  tensor([[ 500.2991,   29.4723,  689.3298,   83.5709],\n",
      "        [1114.8718,   33.7286, 1423.5952,  104.4998]], device='cuda:0')\n",
      "Ground-truth box:  [498.  36. 687.  87.]\n",
      "0.8086051071233641\n",
      "For brand:  Telstra Corporation Limited+2020-05-29-13`32`01\n",
      "Predicted box:  tensor([[466.6077,  40.8030, 585.4658,  75.0679],\n",
      "        [465.8350,  37.5445, 498.4681,  75.6932]], device='cuda:0')\n",
      "Ground-truth box:  [463.  41. 499.  75.]\n",
      "0.8161969521244717\n",
      "For brand:  Webmail Providers+2020-05-27-12`43`29\n",
      "Predicted box:  tensor([[1434.7960,    0.0000, 1475.8739,   34.3495],\n",
      "        [ 443.9243,    2.5369,  630.9657,   35.5582]], device='cuda:0')\n",
      "Ground-truth box:  [452.   3. 493.  35.]\n",
      "0.21242325840026638\n",
      "For brand:  PayPal Inc.+2020-05-30-15`41`24\n",
      "Predicted box:  tensor([[ 885.9143,  124.2277, 1033.5609,  172.2349]], device='cuda:0')\n",
      "Ground-truth box:  [ 881.  125. 1032.  170.]\n",
      "0.8993894804426947\n",
      "For brand:  SF Express Co.+2020-05-27-16`14`32\n",
      "Predicted box:  tensor([[667.8788,  15.9992, 823.1524,  83.5000],\n",
      "        [673.7488,  22.5194, 732.9199,  76.4545]], device='cuda:0')\n",
      "Ground-truth box:  [670.  22. 823.  85.]\n",
      "0.8785228660111736\n",
      "For brand:  WeTransfer+2020-05-23-20`37`05\n",
      "Predicted box:  tensor([[   8.6269,    6.7228,   60.8109,   41.1739],\n",
      "        [ 677.1718,  200.7605, 1019.5005,  269.2417],\n",
      "        [ 670.5145,  157.7121,  841.8541,  196.1885],\n",
      "        [   5.1612,    4.3468,  228.3348,   46.1502]], device='cuda:0')\n",
      "Ground-truth box:  [10.  5. 61. 42.]\n",
      "0.904971106512653\n",
      "For brand:  Spectrum+2020-05-29-13`17`16\n",
      "Predicted box:  tensor([[ 892.5018,   29.1566, 1026.6328,   69.4137],\n",
      "        [ 805.9107,  145.5872, 1089.7781,  185.3490]], device='cuda:0')\n",
      "Ground-truth box:  [ 896.   25. 1018.   71.]\n",
      "0.8050930787737713\n",
      "For brand:  Deutsche Telekom+2020-05-19-10`12`46\n",
      "Predicted box:  tensor([[ 172.7636,   18.0732,  251.3410,   63.3302],\n",
      "        [ 623.3117,   85.3039,  746.5219,  110.2271],\n",
      "        [1009.6815,   24.8710, 1192.1885,   58.0733],\n",
      "        [ 474.6700,  168.7780,  901.8619,  215.3997]], device='cuda:0')\n",
      "Ground-truth box:  [174.  11. 253.  60.]\n",
      "0.7749206336922031\n",
      "For brand:  NetEase+2020-05-23-19`20`46\n",
      "Predicted box:  tensor([[477.7766,  16.8177, 643.7059,  68.5966],\n",
      "        [549.2523, 141.6463, 891.1616, 265.3248]], device='cuda:0')\n",
      "Ground-truth box:  [475.  17. 649.  75.]\n",
      "0.8457988131719604\n",
      "For brand:  T-Online+2020-05-25-17`07`21\n",
      "Predicted box:  tensor([[311.9574,  16.7071, 400.5659,  70.4222],\n",
      "        [288.5223,   6.9623, 419.9041,  83.3293]], device='cuda:0')\n",
      "Ground-truth box:  [322.  23. 396.  67.]\n",
      "0.6840886985066587\n",
      "For brand:  Lloyds TSB Group+2020-05-27-10`09`23\n",
      "Predicted box:  tensor([[ 924.3199,    2.9694,  977.4374,   47.6632],\n",
      "        [ 782.8500,   72.3359, 1100.8932,  111.1749]], device='cuda:0')\n",
      "Ground-truth box:  [921.   7. 979.  44.]\n",
      "0.7693144363283984\n",
      "For brand:  Comcast Corporation+2020-05-12-14`49`14\n",
      "Predicted box:  tensor([[ 925.7766,   81.5217, 1061.0635,  136.0263],\n",
      "        [ 219.2406,   64.6682,  780.3501,  103.4562]], device='cuda:0')\n",
      "Ground-truth box:  [ 930.   83. 1067.  127.]\n",
      "0.755313237031503\n",
      "For brand:  ASB Bank Limited+2020-05-23-15`17`48\n",
      "Predicted box:  tensor([[ 894.4259,  142.3445, 1014.9335,  188.7383]], device='cuda:0')\n",
      "Ground-truth box:  [ 898.  150. 1014.  185.]\n",
      "0.7261922944014335\n",
      "For brand:  Deutsche Telekom+2020-05-12-11`53`31\n",
      "Predicted box:  tensor([[ 186.6332,   20.3462,  263.8629,   66.8494],\n",
      "        [ 604.1782,  136.2218,  760.4060,  190.5622],\n",
      "        [ 998.4426,   27.3826, 1180.9751,   58.6124],\n",
      "        [ 169.0476,   14.0197,  320.0467,   77.0494]], device='cuda:0')\n",
      "Ground-truth box:  [170.  14. 277.  74.]\n",
      "0.6741805825837299\n",
      "For brand:  AT&T Inc.+2020-05-27-10`39`44\n",
      "Predicted box:  tensor([[ 499.9136,   47.3675,  559.5056,   99.1752],\n",
      "        [ 314.8240,  304.5392,  734.6469,  370.8411],\n",
      "        [1262.0122,   58.7922, 1358.9631,   84.7394],\n",
      "        [ 318.3852,  696.3943,  558.0411,  751.9489]], device='cuda:0')\n",
      "Ground-truth box:  [504.  49. 556.  95.]\n",
      "0.7747805827429992\n",
      "For brand:  Orange+2020-05-25-06`15`45\n",
      "Predicted box:  tensor([[407.7956,  12.1033, 472.5331,  75.2706]], device='cuda:0')\n",
      "Ground-truth box:  [410.  22. 463.  68.]\n",
      "0.5961906890924691\n",
      "For brand:  U.S. Bank+2020-05-21-09`39`59\n",
      "Predicted box:  tensor([[204.6388,  23.9817, 415.7805,  87.6281],\n",
      "        [205.4007,  31.8126, 281.6839,  88.2194]], device='cuda:0')\n",
      "Ground-truth box:  [203.  26. 415.  86.]\n",
      "0.9324009364417041\n",
      "For brand:  DGI (French Tax Authority)+2020-05-01-19`34`46\n",
      "Predicted box:  tensor([[113.8429,  38.8138, 199.8374,  97.3796],\n",
      "        [107.9578,  27.3711, 504.9087,  99.1953],\n",
      "        [223.9720,  36.3013, 502.6181,  76.2840]], device='cuda:0')\n",
      "Ground-truth box:  [114.  34. 207.  95.]\n",
      "0.8193170187420811\n",
      "For brand:  Instagram+2020-05-11-17`01`31\n",
      "Predicted box:  tensor([[587.3298,   3.9499, 779.9086,  63.7439]], device='cuda:0')\n",
      "Ground-truth box:  [600.   5. 778.  52.]\n",
      "0.7265258672509869\n",
      "For brand:  Comcast Corporation+2020-05-02-17`14`04\n",
      "Predicted box:  tensor([[854.9058,  51.5163, 988.8532,  98.9887],\n",
      "        [490.4608,  46.3094, 618.6053,  72.4401]], device='cuda:0')\n",
      "Ground-truth box:  [ 856.   43. 1003.   98.]\n",
      "0.746891082688564\n",
      "For brand:  Daum+2020-05-31-09`36`32\n",
      "Predicted box:  tensor([[621.9305,  15.0821, 742.1011,  73.0630]], device='cuda:0')\n",
      "Ground-truth box:  [620.  15. 743.  70.]\n",
      "0.9251995056900231\n",
      "For brand:  Alibaba+2020-05-29-12`12`21\n",
      "Predicted box:  tensor([[458.2778,  30.2465, 652.2474,  74.6267],\n",
      "        [436.0774,  25.8367, 711.5828,  93.5157]], device='cuda:0')\n",
      "Ground-truth box:  [460.  34. 650.  73.]\n",
      "0.8607844615355851\n",
      "For brand:  Canadian Imperial Bank of Commerce+2020-05-30-15`27`10\n",
      "Predicted box:  tensor([[379.7129,   4.2976, 670.6085,  88.1315],\n",
      "        [383.5941,   3.3837, 472.7298,  86.4100]], device='cuda:0')\n",
      "Ground-truth box:  [388.   9. 468.  80.]\n",
      "0.7675052756012789\n",
      "For brand:  Giffgaff+2020-05-23-19`02`25\n",
      "Predicted box:  tensor([[ 486.1197,    3.4581,  613.4519,   52.0613],\n",
      "        [1277.5393,    5.3745, 1400.2192,   49.0365],\n",
      "        [ 476.7634,  107.9128,  855.1744,  173.4964],\n",
      "        [ 673.4536,  946.3379,  755.5651, 1005.9388],\n",
      "        [ 470.2525,    2.2588,  701.1636,   58.3948]], device='cuda:0')\n",
      "Ground-truth box:  [487.   5. 608.  53.]\n",
      "0.9035411433018294\n",
      "For brand:  Facebook, Inc.+2020-05-29-12`29`44\n",
      "Predicted box:  tensor([[460.1204,  22.3902, 647.9988,  76.7741]], device='cuda:0')\n",
      "Ground-truth box:  [461.  26. 653.  77.]\n",
      "0.9029777662424339\n",
      "For brand:  Naver+2020-05-30-09`39`46\n",
      "Predicted box:  tensor([[ 825.2805,   45.9555, 1090.1112,  118.8696]], device='cuda:0')\n",
      "Ground-truth box:  [ 818.   55. 1088.  128.]\n",
      "0.7544840247129392\n",
      "For brand:  M & T Bank Coporation+2020-05-16-12`31`48\n",
      "Predicted box:  tensor([[610.0206,   4.5344, 754.1379,  47.0788]], device='cuda:0')\n",
      "Ground-truth box:  [611.   3. 753.  50.]\n",
      "0.8931453951076298\n",
      "For brand:  Navy Federal Credit Union+2020-05-02-08`27`34\n",
      "Predicted box:  tensor([[259.4127,  13.7891, 384.0112,  97.8289],\n",
      "        [249.5427,   9.5502, 485.1868, 104.3426]], device='cuda:0')\n",
      "Ground-truth box:  [255.  10. 482. 107.]\n",
      "0.933534704084384\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "For brand:  Spotify+2020-05-12-12`19`16\n",
      "Predicted box:  tensor([[576.1988,  20.9046, 786.1724,  86.6191],\n",
      "        [578.3010,  19.6007, 646.5261,  86.2673]], device='cuda:0')\n",
      "Ground-truth box:  [578.  21. 791.  83.]\n",
      "0.9155228726208309\n",
      "For brand:  Universo Online+2020-05-24-07`23`48\n",
      "Predicted box:  tensor([[ 454.9933,   18.0466,  657.9791,   73.7058],\n",
      "        [1260.9680,  157.1023, 1350.6318,  186.2148],\n",
      "        [ 199.1503,  127.1016,  575.9706,  538.5641]], device='cuda:0')\n",
      "Ground-truth box:  [459.  22. 581.  75.]\n",
      "0.5506416534359644\n",
      "For brand:  ASB Bank Limited+2020-05-23-17`59`14\n",
      "Predicted box:  tensor([[ 901.5162,   34.8476, 1023.1883,   81.4103]], device='cuda:0')\n",
      "Ground-truth box:  [ 903.   38. 1023.   78.]\n",
      "0.847252748882716\n",
      "For brand:  DocuSign+2020-05-02-18`24`21\n",
      "Predicted box:  tensor([[ 31.9777,  12.1489, 177.3122,  62.9337],\n",
      "        [587.3606, 274.6367, 799.4191, 319.4844],\n",
      "        [619.6294, 442.1208, 763.6625, 482.6562]], device='cuda:0')\n",
      "Ground-truth box:  [ 32.  16. 182.  62.]\n",
      "0.87993610121617\n",
      "For brand:  IRS+2020-05-11-16`04`32\n",
      "Predicted box:  tensor([[111.4888,  27.8506, 264.3531,  91.5076],\n",
      "        [120.8481, 560.6404, 258.9191, 617.6647]], device='cuda:0')\n",
      "Ground-truth box:  [117.  19. 265.  90.]\n",
      "0.8264525784373749\n",
      "For brand:  ATB Financial+2020-05-17-10`07`52\n",
      "Predicted box:  tensor([[412.3709,  55.8312, 969.1015, 113.5984],\n",
      "        [232.7934, 181.3083, 400.6838, 233.5505],\n",
      "        [419.1812,  60.7190, 633.0993, 108.2366]], device='cuda:0')\n",
      "Ground-truth box:  [688.  57. 790. 105.]\n",
      "0.15223536660351675\n",
      "For brand:  Global Sources (HK)+2020-05-16-11`56`08\n",
      "Predicted box:  tensor([[277.6941,  19.1258, 553.5167,  71.3865],\n",
      "        [286.8027,  20.7714, 384.6713,  67.5365]], device='cuda:0')\n",
      "Ground-truth box:  [281.  17. 555.  73.]\n",
      "0.9178402463319644\n",
      "For brand:  Chronopost International+2020-05-25-11`15`25\n",
      "Predicted box:  tensor([[476.9492,  15.2123, 800.2990,  92.3039],\n",
      "        [481.6615,  14.5713, 552.8064,  90.7277]], device='cuda:0')\n",
      "Ground-truth box:  [477.   9. 803.  92.]\n",
      "0.9140364421400762\n",
      "For brand:  DHL Airways, Inc.+2020-05-18-15`46`06\n",
      "Predicted box:  tensor([[ 124.0462,   32.6617,  239.8380,   69.3265],\n",
      "        [ 122.3428,   26.5241,  322.7907,   74.3228],\n",
      "        [ 165.4162,  631.6176,  319.0494,  769.3173],\n",
      "        [ 149.1363,  611.5040, 1202.7458,  790.6730],\n",
      "        [ 111.3232,   22.9195,  244.4736,   86.6998]], device='cuda:0')\n",
      "Ground-truth box:  [121.  19. 250.  67.]\n",
      "0.6153625860613893\n",
      "For brand:  Spark New Zealand+2020-05-02-17`37`50\n",
      "Predicted box:  tensor([[ 20.6615,  65.9788, 185.0540, 132.9189],\n",
      "        [ 23.8028,  66.9303, 103.2682, 137.0304]], device='cuda:0')\n",
      "Ground-truth box:  [ 25.  73. 190. 127.]\n",
      "0.7667927697298592\n",
      "For brand:  Steam+2020-05-24-17`47`39\n",
      "Predicted box:  tensor([[ 469.5295,   18.4588,  658.0184,   76.4369],\n",
      "        [1716.2372,   44.4230, 1844.9940,  163.5754],\n",
      "        [1685.1519,   29.1802, 1875.4038,  202.4618],\n",
      "        [ 481.7679,   17.8940, 1055.8019,   82.2204]], device='cuda:0')\n",
      "Ground-truth box:  [478.  23. 664.  77.]\n",
      "0.8473493270840253\n",
      "For brand:  M & T Bank Coporation+2020-05-17-08`15`01\n",
      "Predicted box:  tensor([[610.7418,   5.4179, 752.1721,  45.4357]], device='cuda:0')\n",
      "Ground-truth box:  [614.   3. 753.  49.]\n",
      "0.8474886034108923\n",
      "For brand:  WeTransfer+2020-05-23-18`24`53\n",
      "Predicted box:  tensor([[ 95.6593, 188.2698, 282.8473, 234.0420],\n",
      "        [ 10.6481,  11.4213,  67.7844,  42.4704],\n",
      "        [  1.6009,   4.2190,  75.0162,  54.9401],\n",
      "        [ 96.4070, 189.6865, 138.9544, 233.4508]], device='cuda:0')\n",
      "Ground-truth box:  [13. 14. 65. 47.]\n",
      "0.7367053239600411\n",
      "For brand:  Amazon.com Inc.+2020-05-21-12`52`43\n",
      "Predicted box:  tensor([[615.3903,   5.1869, 746.5519,  46.9647]], device='cuda:0')\n",
      "Ground-truth box:  [615.   4. 746.  43.]\n",
      "0.8741355728663069\n",
      "For brand:  TPG Telecom+2020-05-19-04`16`50\n",
      "Predicted box:  tensor([[215.7237,  66.8191, 332.9910, 110.9262],\n",
      "        [248.8798, 158.8147, 794.7117, 275.7337],\n",
      "        [391.4047, 173.5984, 473.5348, 257.1537]], device='cuda:0')\n",
      "Ground-truth box:  [212.  69. 334. 111.]\n",
      "0.9139028317117694\n",
      "For brand:  Sparkasse Bank+2020-05-27-17`19`15\n",
      "Predicted box:  tensor([[  3.6752,  43.5641, 147.6176, 113.5381],\n",
      "        [ 11.1412,  43.1241, 323.5450, 117.5687],\n",
      "        [708.3771,  65.0591, 838.0955,  96.6448],\n",
      "        [152.1866,  55.3813, 321.2829, 113.6638]], device='cuda:0')\n",
      "Ground-truth box:  [  9.  49. 147. 116.]\n",
      "0.8553870901360583\n",
      "For brand:  PostFinance+2020-05-10-23`14`03\n",
      "Predicted box:  tensor([[497.6574,  14.1517, 670.4377,  73.5595]], device='cuda:0')\n",
      "Ground-truth box:  [502.  19. 667.  70.]\n",
      "0.8198166494056018\n",
      "For brand:  DocuSign+2020-05-02-06`01`55\n",
      "Predicted box:  tensor([[358.0804, 266.9481, 627.0293, 356.7740],\n",
      "        [355.6314, 562.7722, 433.4265, 640.4734],\n",
      "        [319.2585, 548.5590, 988.8493, 660.4615]], device='cuda:0')\n",
      "Ground-truth box:  [347. 265. 637. 359.]\n",
      "0.8862284986488148\n",
      "For brand:  Discover+2020-05-11-17`14`36\n",
      "Predicted box:  tensor([[203.1654,  14.1974, 332.3723,  47.9037],\n",
      "        [200.0505,   8.3329, 448.0481,  51.4343]], device='cuda:0')\n",
      "Ground-truth box:  [200.   6. 328.  53.]\n",
      "0.682695615846005\n",
      "For brand:  Wells Fargo & Company+2020-05-12-13`06`56\n",
      "Predicted box:  tensor([[185.4086,   6.3819, 437.4182,  52.2449],\n",
      "        [195.6376,  65.8523, 274.5168,  95.7219]], device='cuda:0')\n",
      "Ground-truth box:  [184.   3. 440.  54.]\n",
      "0.8852555180664552\n",
      "For brand:  Global Sources (HK)+2020-05-13-13`38`37\n",
      "Predicted box:  tensor([[277.6941,  19.1258, 553.5167,  71.3865],\n",
      "        [286.8027,  20.7714, 384.6713,  67.5365]], device='cuda:0')\n",
      "Ground-truth box:  [278.  16. 553.  75.]\n",
      "0.883433771907249\n",
      "For brand:  Lloyds TSB Group+2020-05-30-13`27`57\n",
      "Predicted box:  tensor([[ 924.3199,    2.9694,  977.4374,   47.6632],\n",
      "        [ 782.8500,   72.3359, 1100.8932,  111.1749]], device='cuda:0')\n",
      "Ground-truth box:  [922.   5. 980.  43.]\n",
      "0.7885995422331346\n",
      "For brand:  M & T Bank Coporation+2020-05-02-20`29`54\n",
      "Predicted box:  tensor([[610.0206,   4.5344, 754.1379,  47.0788]], device='cuda:0')\n",
      "Ground-truth box:  [611.   7. 750.  47.]\n",
      "0.9068096156302385\n",
      "For brand:  Lloyds TSB Group+2020-05-30-11`28`55\n",
      "Predicted box:  tensor([[ 924.3199,    2.9694,  977.4374,   47.6632],\n",
      "        [ 782.8500,   72.3359, 1100.8932,  111.1749]], device='cuda:0')\n",
      "Ground-truth box:  [926.   2. 977.  44.]\n",
      "0.8634582006896645\n",
      "For brand:  Deutsche Telekom+2020-05-16-16`11`01\n",
      "Predicted box:  tensor([[ 172.7636,   18.0732,  251.3410,   63.3302],\n",
      "        [ 623.3117,   85.3039,  746.5219,  110.2271],\n",
      "        [1009.6815,   24.8710, 1192.1885,   58.0733],\n",
      "        [ 474.6700,  168.7780,  901.8619,  215.3997]], device='cuda:0')\n",
      "Ground-truth box:  [170.  16. 256.  71.]\n",
      "0.7518345459399608\n",
      "For brand:  AOL Inc.+2020-05-02-14`32`34\n",
      "Predicted box:  tensor([[ 37.7597,  16.3060, 129.9186,  61.6528],\n",
      "        [877.1461,  92.6757, 965.8526, 138.7515],\n",
      "        [555.2564, 238.3948, 722.6171, 266.2807],\n",
      "        [554.9781, 240.0310, 594.6207, 262.9463]], device='cuda:0')\n",
      "Ground-truth box:  [ 41.  19. 126.  60.]\n",
      "0.8339090530230083\n",
      "For brand:  Ooredoo QSC+2020-05-19-08`51`20\n",
      "Predicted box:  tensor([[ 961.4855,   33.1847, 1185.4723,   97.4949],\n",
      "        [ 178.9490,   42.7178,  410.6685,   86.7793],\n",
      "        [ 562.9625,  207.8549,  801.0877,  234.3519]], device='cuda:0')\n",
      "Ground-truth box:  [ 963.   32. 1185.  101.]\n",
      "0.9243222954135717\n",
      "For brand:  RuneScape+2020-05-23-18`27`57\n",
      "Predicted box:  tensor([[440.5070,  30.8031, 599.4224,  85.8757],\n",
      "        [430.9884, 116.2383, 884.4462, 216.9304]], device='cuda:0')\n",
      "Ground-truth box:  [442.  33. 598.  85.]\n",
      "0.9268861637387091\n",
      "For brand:  Blockchain+2020-05-19-11`10`23\n",
      "Predicted box:  tensor([[ 18.7546,   1.1839, 291.5919,  31.7399],\n",
      "        [689.4764, 571.3785, 837.4475, 625.9020],\n",
      "        [  8.4348,  47.4711, 148.6792,  92.5564]], device='cuda:0')\n",
      "Ground-truth box:  [ 18.   2. 288.  33.]\n",
      "0.920434468042935\n",
      "For brand:  Bank of America+2020-05-13-10`13`43\n",
      "Predicted box:  tensor([[180.4252,   0.4872, 402.1931,  35.7609]], device='cuda:0')\n",
      "Ground-truth box:  [178.   1. 395.  34.]\n",
      "0.8960300541588748\n",
      "For brand:  Lloyds TSB Group+2020-05-27-11`01`48\n",
      "Predicted box:  tensor([[ 924.7211,    3.2803,  977.1967,   47.5409],\n",
      "        [ 776.6583,   70.0904, 1107.9783,  109.6011]], device='cuda:0')\n",
      "Ground-truth box:  [928.   7. 977.  43.]\n",
      "0.7594944340265802\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "For brand:  Visa International Service Association+2020-05-09-13`31`43\n",
      "Predicted box:  tensor([[ 795.2011,  130.0394, 1074.8588,  272.1592],\n",
      "        [ 120.6001,   24.8849,  348.3948,   51.5536],\n",
      "        [ 292.7250,  152.6880,  688.6210,  203.9028],\n",
      "        [ 271.5947,  133.3646,  722.0994,  259.7104]], device='cuda:0')\n",
      "Ground-truth box:  [ 857.  198. 1042.  267.]\n",
      "0.321173295155392\n",
      "For brand:  ATB Financial+2020-05-16-12`10`36\n",
      "Predicted box:  tensor([[403.2036,  53.0500, 958.4402, 112.1527],\n",
      "        [403.4390,  42.4357, 963.3982, 164.9379]], device='cuda:0')\n",
      "Ground-truth box:  [682.  52. 797. 113.]\n",
      "0.20575084313765285\n",
      "For brand:  CenturyLink+2020-05-30-11`38`39\n",
      "Predicted box:  tensor([[807.8026,  11.7720, 974.2991,  54.7795],\n",
      "        [812.3802,  11.5719, 856.3889,  54.9571]], device='cuda:0')\n",
      "Ground-truth box:  [811.   2. 970.  50.]\n",
      "0.6974990883749749\n",
      "For brand:  Spotify+2020-05-02-15`24`10\n",
      "Predicted box:  tensor([[ 105.3442,   13.6962,  246.4836,   64.2918],\n",
      "        [1117.8356,   13.6833, 1259.1986,   67.4967],\n",
      "        [1117.3046,   13.2252, 1188.6418,   68.4323]], device='cuda:0')\n",
      "Ground-truth box:  [105.  15. 247.  70.]\n",
      "0.8702764184602381\n",
      "For brand:  Absa Group+2020-05-18-09`46`13\n",
      "Predicted box:  tensor([[  6.7644,   7.4721,  58.0609,  55.3018],\n",
      "        [  0.0000,   4.4888,  98.7959,  59.3325],\n",
      "        [  1.0872,   2.5923, 197.6728,  60.8582],\n",
      "        [156.4924,  22.0423, 209.8617,  44.3450]], device='cuda:0')\n",
      "Ground-truth box:  [ 6.  7. 57. 54.]\n",
      "0.9300562949177196\n",
      "For brand:  Daum+2020-05-29-13`47`07\n",
      "Predicted box:  tensor([[ 903.7900,   16.6775, 1018.7609,   73.1441]], device='cuda:0')\n",
      "Ground-truth box:  [ 893.   19. 1018.   68.]\n",
      "0.7971102440169608\n",
      "For brand:  Google Inc.+2020-05-26-12`03`03\n",
      "Predicted box:  tensor([[ 918.5532,  101.6380,  997.3751,  132.9663],\n",
      "        [ 897.6555,   93.9612, 1020.3049,  137.0211]], device='cuda:0')\n",
      "Ground-truth box:  [ 914.  101. 1003.  130.]\n",
      "0.7942106770198735\n",
      "For brand:  Wells Fargo & Company+2020-05-29-13`11`16\n",
      "Predicted box:  tensor([[454.1505,   5.4063, 689.7075,  47.1741],\n",
      "        [458.9083,   9.8576, 589.6814,  41.8225]], device='cuda:0')\n",
      "Ground-truth box:  [454.   9. 682.  50.]\n",
      "0.8292644623360689\n",
      "For brand:  SF Express Co.+2020-05-23-21`27`19\n",
      "Predicted box:  tensor([[2.8904e+02, 2.2912e+00, 4.9943e+02, 5.4761e+01],\n",
      "        [5.6255e+02, 1.3164e+01, 9.8538e+02, 4.3820e+01],\n",
      "        [2.9606e+02, 3.8238e+00, 3.4816e+02, 5.3454e+01],\n",
      "        [2.9314e+02, 1.8084e+00, 3.9448e+02, 5.2144e+01],\n",
      "        [8.6858e+02, 6.1218e+01, 1.2532e+03, 2.5608e+02],\n",
      "        [3.7908e+02, 1.1441e+00, 9.8430e+02, 5.0705e+01]], device='cuda:0')\n",
      "Ground-truth box:  [298.   2. 351.  57.]\n",
      "0.8267427807839659\n",
      "For brand:  DGI (French Tax Authority)+2020-05-02-23`21`12\n",
      "Predicted box:  tensor([[ 108.0600,   37.7199,  196.7740,   96.3552],\n",
      "        [  99.1464,   26.5105,  500.1775,  100.8469],\n",
      "        [1010.1742,   15.5392, 1229.2058,   58.6654],\n",
      "        [1004.2452,   66.6004, 1238.6356,  113.1481],\n",
      "        [ 220.7605,   35.7566,  500.8437,   75.8183]], device='cuda:0')\n",
      "Ground-truth box:  [111.  34. 201.  94.]\n",
      "0.8359950442629537\n",
      "For brand:  RuneScape+2020-05-23-16`46`12\n",
      "Predicted box:  tensor([[440.5070,  30.8031, 599.4224,  85.8757],\n",
      "        [430.9850, 116.2385, 884.4512, 216.9310]], device='cuda:0')\n",
      "Ground-truth box:  [444.  36. 593.  90.]\n",
      "0.7934179752160784\n",
      "For brand:  IRS+2020-05-14-10`02`32\n",
      "Predicted box:  tensor([[111.4888,  27.8506, 264.3532,  91.5076],\n",
      "        [120.9120, 560.6678, 258.8697, 617.5748]], device='cuda:0')\n",
      "Ground-truth box:  [111.  25. 260.  92.]\n",
      "0.9214111853993511\n",
      "For brand:  Adobe Inc.+2020-05-09-12`56`53\n",
      "Predicted box:  tensor([[  12.3410,   24.4342,  103.6837,   55.5558],\n",
      "        [ 353.9648,   27.4302,  493.5695,   52.7330],\n",
      "        [ 933.6526,  168.2817, 1274.2092,  215.8341]], device='cuda:0')\n",
      "Ground-truth box:  [18. 30. 42. 51.]\n",
      "0.1772944229064745\n",
      "For brand:  Adobe Inc.+2020-05-04-14`09`44\n",
      "Predicted box:  tensor([[105.4764,   5.3703, 360.4483,  60.9401],\n",
      "        [113.8131,   2.5973, 162.1617,  62.9856]], device='cuda:0')\n",
      "Ground-truth box:  [116.   7. 161.  61.]\n",
      "0.8322809883127531\n",
      "For brand:  BT Group plc+2020-05-17-08`14`06\n",
      "Predicted box:  tensor([[ 99.9938,  51.3921, 157.6354, 104.9896],\n",
      "        [ 80.4838,  45.5628, 179.4398, 113.6080],\n",
      "        [101.6055,  49.0383, 339.7561, 108.1450]], device='cuda:0')\n",
      "Ground-truth box:  [ 97.  51. 160. 107.]\n",
      "0.87569440557912\n",
      "For brand:  Bank of America+2020-05-19-11`38`55\n",
      "Predicted box:  tensor([[118.4266,  13.3745, 359.7741,  55.9291],\n",
      "        [120.3046,  98.2047, 340.4831, 140.6867]], device='cuda:0')\n",
      "Ground-truth box:  [112.   8. 365.  56.]\n",
      "0.8457221276796711\n",
      "For brand:  Discover+2020-05-03-11`19`15\n",
      "Predicted box:  tensor([[203.1654,  14.1974, 332.3723,  47.9037],\n",
      "        [200.0505,   8.3329, 448.0481,  51.4343]], device='cuda:0')\n",
      "Ground-truth box:  [200.   6. 326.  46.]\n",
      "0.711737671771349\n",
      "For brand:  Made-In-China+2020-05-27-10`53`27\n",
      "Predicted box:  tensor([[483.5490,  50.4411, 699.4995, 100.8669]], device='cuda:0')\n",
      "Ground-truth box:  [480.  50. 712. 113.]\n",
      "0.7450369265338751\n",
      "For brand:  RBC Royal Bank+2020-05-14-12`18`27\n",
      "Predicted box:  tensor([[ 78.3533,   6.3019, 133.5942,  64.7657],\n",
      "        [ 74.1922,   1.5604, 258.6126,  68.8557],\n",
      "        [ 91.1304,  66.2843, 257.9464,  94.3836]], device='cuda:0')\n",
      "Ground-truth box:  [ 80.   4. 129.  72.]\n",
      "0.7749058254386391\n",
      "For brand:  WhatsApp+2020-05-11-18`15`00\n",
      "Predicted box:  tensor([[616.1250,  14.3201, 747.3364,  55.0180],\n",
      "        [646.4386,  80.8509, 719.0821, 150.2017],\n",
      "        [620.1480,  45.5233, 742.8038, 148.8314]], device='cuda:0')\n",
      "Ground-truth box:  [653.  87. 711. 142.]\n",
      "0.633201518476393\n",
      "For brand:  Comcast Corporation+2020-05-10-21`53`03\n",
      "Predicted box:  tensor([[ 923.5229,   82.4108, 1058.9545,  135.2501]], device='cuda:0')\n",
      "Ground-truth box:  [ 928.   85. 1063.  130.]\n",
      "0.8030552183835061\n",
      "For brand:  Deutsche Telekom+2020-05-25-06`00`40\n",
      "Predicted box:  tensor([[2.7858e-01, 3.9641e+00, 1.1576e+02, 6.5666e+01],\n",
      "        [5.8980e+02, 2.1210e+01, 8.3328e+02, 5.2456e+01],\n",
      "        [7.6962e+00, 9.6337e+01, 3.9719e+02, 2.0735e+02],\n",
      "        [1.4731e+00, 6.0970e+00, 5.5103e+01, 6.4772e+01]], device='cuda:0')\n",
      "Ground-truth box:  [  2.   9. 123.  63.]\n",
      "0.817260156070918\n",
      "For brand:  Juno Online Services+2020-05-18-09`55`51\n",
      "Predicted box:  tensor([[175.7400,  33.2061, 365.9435,  97.2953]], device='cuda:0')\n",
      "Ground-truth box:  [166.  36. 368. 101.]\n",
      "0.8533949599626889\n",
      "For brand:  DocuSign+2020-05-25-10`40`34\n",
      "Predicted box:  tensor([[ 18.9584,  10.6505, 154.4288,  63.0071]], device='cuda:0')\n",
      "Ground-truth box:  [ 22.  17. 150.  58.]\n",
      "0.7399081278165316\n",
      "For brand:  Landesbank Berlin AG+2020-05-01-18`18`15\n",
      "Predicted box:  tensor([[  25.0274,   13.2475,   99.4020,   50.2195],\n",
      "        [  19.0261,    9.3743,  212.4253,   50.2351],\n",
      "        [1232.6244,   43.0788, 1349.4478,  156.1064],\n",
      "        [ 108.2967,   15.2816,  207.5415,   49.0217]], device='cuda:0')\n",
      "Ground-truth box:  [ 26.  18. 210.  57.]\n",
      "0.6484234531776034\n",
      "For brand:  AOL Inc.+2020-05-12-13`50`04\n",
      "Predicted box:  tensor([[ 37.9316,  58.0319, 126.1348, 103.5138],\n",
      "        [876.9556, 131.8646, 967.6627, 177.8689]], device='cuda:0')\n",
      "Ground-truth box:  [ 42.  57. 126. 101.]\n",
      "0.880680823575211\n",
      "For brand:  PostFinance+2020-05-12-10`59`17\n",
      "Predicted box:  tensor([[497.6574,  14.1517, 670.4377,  73.5595]], device='cuda:0')\n",
      "Ground-truth box:  [502.  19. 662.  70.]\n",
      "0.7949737206357351\n",
      "For brand:  Office365+2020-05-02-15`57`34\n",
      "Predicted box:  tensor([[507.8904, 163.5997, 630.9285, 200.4023],\n",
      "        [510.6076, 167.3985, 540.6798, 199.4257]], device='cuda:0')\n",
      "Ground-truth box:  [510. 163. 632. 205.]\n",
      "0.8555926757710605\n",
      "For brand:  Webmail Providers+2020-05-29-14`29`50\n",
      "Predicted box:  tensor([[1428.2729,    0.0000, 1468.4502,   33.8747],\n",
      "        [ 449.4329,    1.9617,  625.7136,   35.6279]], device='cuda:0')\n",
      "Ground-truth box:  [458.   3. 497.  33.]\n",
      "0.19714557825350212\n",
      "For brand:  DGI (French Tax Authority)+2020-05-12-11`20`36\n",
      "Predicted box:  tensor([[ 108.0337,   37.6888,  196.7833,   96.4508],\n",
      "        [  98.3478,   26.4743,  500.0683,  100.9763],\n",
      "        [1010.1821,   15.5439, 1229.1997,   58.6593],\n",
      "        [1004.3770,   66.6271, 1238.4110,  113.1412],\n",
      "        [ 220.7881,   35.8283,  500.8782,   75.7168]], device='cuda:0')\n",
      "Ground-truth box:  [111.  32. 199.  98.]\n",
      "0.8426192204197828\n",
      "For brand:  ASB Bank Limited+2020-05-24-17`43`47\n",
      "Predicted box:  tensor([[ 901.5562,   34.8619, 1023.1892,   81.4131]], device='cuda:0')\n",
      "Ground-truth box:  [ 903.   38. 1021.   78.]\n",
      "0.8336023153008927\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "For brand:  Facebook, Inc.+2020-05-30-10`16`44\n",
      "Predicted box:  tensor([[ 903.9589,    4.6390, 1015.7404,   40.5304]], device='cuda:0')\n",
      "Ground-truth box:  [ 895.   -2. 1020.   39.]\n",
      "0.7252397353294958\n",
      "For brand:  Bank of America+2020-05-11-15`11`05\n",
      "Predicted box:  tensor([[118.5037,  13.4945, 359.7247,  52.2094],\n",
      "        [123.5861,  85.5943, 418.4829, 155.5981]], device='cuda:0')\n",
      "Ground-truth box:  [119.   4. 360.  61.]\n",
      "0.6774845402061046\n",
      "For brand:  Amazon.com Inc.+2020-05-08-00`05`23\n",
      "Predicted box:  tensor([[625.4641,   4.5779, 743.1315,  47.6669]], device='cuda:0')\n",
      "Ground-truth box:  [617.   2. 747.  43.]\n",
      "0.7689944928331076\n",
      "For brand:  Equa bank+2020-05-24-00`44`56\n",
      "Predicted box:  tensor([[210.8171,   7.7594, 347.1664,  48.9519]], device='cuda:0')\n",
      "Ground-truth box:  [207.   3. 348.  46.]\n",
      "0.8064477803703771\n",
      "For brand:  Webmail Providers+2020-05-09-12`25`53\n",
      "Predicted box:  tensor([[530.3885, 125.5302, 839.2786, 195.3407]], device='cuda:0')\n",
      "Ground-truth box:  [534. 123. 843. 189.]\n",
      "0.8580346087318367\n",
      "For brand:  Adobe Inc.+2020-05-04-14`15`00\n",
      "Predicted box:  tensor([[105.4764,   5.3703, 360.4483,  60.9401],\n",
      "        [113.8131,   2.5973, 162.1617,  62.9856]], device='cuda:0')\n",
      "Ground-truth box:  [116.   7. 162.  62.]\n",
      "0.8665312347453766\n",
      "For brand:  Amazon.com Inc.+2020-05-29-13`23`11\n",
      "Predicted box:  tensor([[  25.8903,   11.6036,  169.1699,   61.3195],\n",
      "        [1711.5784,    7.7135, 1804.1187,   49.2691]], device='cuda:0')\n",
      "Ground-truth box:  [ 26.  15. 162.  53.]\n",
      "0.7255084944879158\n",
      "For brand:  M & T Bank Coporation+2020-05-10-22`19`50\n",
      "Predicted box:  tensor([[610.0206,   4.5344, 754.1379,  47.0788]], device='cuda:0')\n",
      "Ground-truth box:  [609.   3. 760.  47.]\n",
      "0.9195647038964209\n",
      "For brand:  SOCIETE FRANCAISE DU RADIOTELEPHONE+2020-05-21-10`59`44\n",
      "Predicted box:  tensor([[  19.4624,    6.8578,   77.4563,   62.5087],\n",
      "        [  19.7495,    5.8995,  137.9271,   64.1591],\n",
      "        [ 307.1635,  205.3277,  376.4829,  287.0734],\n",
      "        [ 244.0946,  190.1943,  419.8719,  309.8635],\n",
      "        [1093.4764,   11.7561, 1123.2296,   43.5756]], device='cuda:0')\n",
      "Ground-truth box:  [23. 11. 73. 60.]\n",
      "0.7591213376931363\n",
      "For brand:  Itau Unibanco S.A+2020-05-02-16`48`15\n",
      "Predicted box:  tensor([[ 13.1475,   7.7399, 216.5988,  64.6931]], device='cuda:0')\n",
      "Ground-truth box:  [ 10.   7. 217.  69.]\n",
      "0.9028523648837903\n",
      "For brand:  Banco del Estado de Chile+2020-05-23-12`30`35\n",
      "Predicted box:  tensor([[ 551.7122,   16.4825,  772.7366,   70.8434],\n",
      "        [1234.1954,   25.6440, 1441.1663,   66.7010],\n",
      "        [ 559.0089,   20.2081,  606.8660,   65.5853],\n",
      "        [ 879.5693,  108.7130, 1095.3711,  278.9214]], device='cuda:0')\n",
      "Ground-truth box:  [555.  17. 772.  68.]\n",
      "0.9210924121457721\n",
      "For brand:  AT&T Inc.+2020-05-23-15`06`47\n",
      "Predicted box:  tensor([[ 500.6219,   46.4337,  557.7258,   98.9764],\n",
      "        [1262.2538,   58.6384, 1359.9186,   84.4602]], device='cuda:0')\n",
      "Ground-truth box:  [497.  49. 558.  96.]\n",
      "0.8430570264560358\n",
      "For brand:  Swisscom IT Services AG+2020-05-24-19`46`23\n",
      "Predicted box:  tensor([[589.4982,  26.9840, 787.2148,  84.2412],\n",
      "        [593.7958,  25.9612, 640.4511,  87.1827]], device='cuda:0')\n",
      "Ground-truth box:  [590.  26. 791.  85.]\n",
      "0.9498840068903167\n",
      "For brand:  Yahoo! Inc+2020-05-23-20`24`53\n",
      "Predicted box:  tensor([[   8.7399,    4.5627,  142.7037,   49.1334],\n",
      "        [1227.9355,   91.8147, 1360.7223,  138.3626],\n",
      "        [ 423.6578,   90.4654,  800.8954,  397.4789],\n",
      "        [ 422.9616,   89.3913,  780.5287,  198.1922],\n",
      "        [ 478.6154,  116.0536,  736.7797,  176.0085],\n",
      "        [1871.0548,   17.9815, 1907.4285,   42.4396]], device='cuda:0')\n",
      "Ground-truth box:  [  8.   3. 137.  49.]\n",
      "0.9184886543101756\n",
      "For brand:  eBay Inc.+2020-05-30-16`52`51\n",
      "Predicted box:  tensor([[  10.1537,    8.5952,  142.6914,   68.4506],\n",
      "        [ 907.7913,   73.7619, 1007.6559,  116.5511],\n",
      "        [ 814.7728,   71.8626, 1100.7687,  155.7832],\n",
      "        [ 860.5168,   72.9614, 1074.5105,  123.5138]], device='cuda:0')\n",
      "Ground-truth box:  [ 10.  12. 147.  65.]\n",
      "0.8598338536057819\n",
      "For brand:  SunTrust Bank+2020-05-02-08`11`12\n",
      "Predicted box:  tensor([[575.6967,   3.9680, 803.0023,  61.9524],\n",
      "        [382.1226,  91.0997, 467.1349, 113.0855]], device='cuda:0')\n",
      "Ground-truth box:  [580.   6. 800.  62.]\n",
      "0.9332006192652335\n",
      "For brand:  Orange+2020-05-23-11`47`57\n",
      "Predicted box:  tensor([[ 364.1247,  104.0995,  600.8441,  149.1596],\n",
      "        [ 363.8751,   13.8940,  415.1143,   63.8667],\n",
      "        [1268.3329,  124.3460, 1538.3773,  189.4424]], device='cuda:0')\n",
      "Ground-truth box:  [367.  15. 410.  61.]\n",
      "0.7724882788737342\n",
      "For brand:  Americanas.com S,A Comercio Electrnico+2020-05-30-09`08`38\n",
      "Predicted box:  tensor([[304.4848,  64.2545, 546.8259, 117.3618]], device='cuda:0')\n",
      "Ground-truth box:  [312.  69. 540. 115.]\n",
      "0.8149143331837977\n",
      "For brand:  Made-In-China+2020-05-24-05`43`42\n",
      "Predicted box:  tensor([[521.6525,  33.3880, 768.5364,  86.3827],\n",
      "        [525.0536,  32.5248, 586.4209,  88.1231]], device='cuda:0')\n",
      "Ground-truth box:  [523.  38. 784.  89.]\n",
      "0.8184543166103582\n",
      "For brand:  DocuSign+2020-05-02-14`39`39\n",
      "Predicted box:  tensor([[ 33.9230,  11.7720, 179.0042,  61.8822],\n",
      "        [583.3192, 303.9694, 793.1296, 348.3243],\n",
      "        [614.8412, 470.8401, 760.8940, 512.0186]], device='cuda:0')\n",
      "Ground-truth box:  [ 30.  15. 191.  73.]\n",
      "0.6936071854936919\n",
      "For brand:  Navy Federal Credit Union+2020-05-02-13`32`30\n",
      "Predicted box:  tensor([[259.2653,  13.5321, 383.6617,  97.9808],\n",
      "        [246.5173,   8.9682, 484.9713, 105.6667]], device='cuda:0')\n",
      "Ground-truth box:  [253.   9. 497. 108.]\n",
      "0.9045452389623401\n",
      "For brand:  Alibaba+2020-05-14-20`15`51\n",
      "Predicted box:  tensor([[281.2153,   6.9726, 492.5887,  55.2322]], device='cuda:0')\n",
      "Ground-truth box:  [286.   9. 490.  53.]\n",
      "0.8799303278768726\n",
      "For brand:  Comcast Corporation+2020-05-23-15`05`10\n",
      "Predicted box:  tensor([[1175.0304,  870.8462, 1316.2023,  929.4427]], device='cuda:0')\n",
      "Ground-truth box:  [1167.  876. 1327.  929.]\n",
      "0.807125587090406\n",
      "For brand:  Alibaba+2020-05-16-11`03`46\n",
      "Predicted box:  tensor([[ 82.6564,  32.6479, 277.3168,  72.4417]], device='cuda:0')\n",
      "Ground-truth box:  [ 82.  35. 277.  72.]\n",
      "0.9253800373670488\n",
      "For brand:  Blockchain+2020-05-30-15`57`40\n",
      "Predicted box:  tensor([[  33.7057,   22.8763,  226.7993,   66.2740],\n",
      "        [1178.4729,  586.2157, 1353.9282,  641.7141]], device='cuda:0')\n",
      "Ground-truth box:  [ 31.  26. 227.  67.]\n",
      "0.9001604609568512\n",
      "For brand:  DGI (French Tax Authority)+2020-05-09-13`28`45\n",
      "Predicted box:  tensor([[213.2580,   7.6058, 335.0699, 135.8336],\n",
      "        [222.6226,  12.7606, 742.8771, 130.5157],\n",
      "        [350.8156,  33.0369, 739.2196, 105.6447],\n",
      "        [363.9651,  37.5369, 573.0192,  96.5580]], device='cuda:0')\n",
      "Ground-truth box:  [215.   5. 328.  73.]\n",
      "0.46433837984979964\n",
      "For brand:  DHL Airways, Inc.+2020-05-23-12`29`42\n",
      "Predicted box:  tensor([[233.8926,  19.5512, 731.0630, 142.7925],\n",
      "        [607.3362,  71.1806, 740.2876, 136.8482],\n",
      "        [279.4840,  32.5411, 572.2396, 108.9525]], device='cuda:0')\n",
      "Ground-truth box:  [251.  24. 605. 138.]\n",
      "0.6586375275077727\n",
      "For brand:  Facebook, Inc.+2020-05-24-05`59`09\n",
      "Predicted box:  tensor([[ 776.7156,    5.8959, 1151.8973,  216.7643],\n",
      "        [ 919.4594,   65.3174,  995.5175,  145.2930]], device='cuda:0')\n",
      "Ground-truth box:  [928.  75. 992. 137.]\n",
      "0.6523321257107123\n",
      "For brand:  BT Group plc+2020-05-29-12`15`44\n",
      "Predicted box:  tensor([[  99.2587,   52.2350,  158.0024,  104.5160],\n",
      "        [1465.7762,   49.6375, 1525.5730,  103.4285],\n",
      "        [  95.6349,   46.7090,  308.0871,  110.6804],\n",
      "        [1462.5396,   47.0078, 1674.8429,  111.1601]], device='cuda:0')\n",
      "Ground-truth box:  [ 94.  53. 162. 108.]\n",
      "0.7995484932465294\n",
      "For brand:  PayPal Inc.+2020-05-26-13`01`54\n",
      "Predicted box:  tensor([[ 885.9143,  124.2277, 1033.5609,  172.2349]], device='cuda:0')\n",
      "Ground-truth box:  [ 887.  125. 1036.  178.]\n",
      "0.8586597241124845\n",
      "For brand:  Match+2020-05-02-23`51`34\n",
      "Predicted box:  tensor([[196.5200,   5.3523, 313.4190,  47.4033]], device='cuda:0')\n",
      "Ground-truth box:  [193.   8. 315.  49.]\n",
      "0.8672102154165632\n",
      "For brand:  RuneScape+2020-05-01-13`45`54\n",
      "Predicted box:  tensor([[600.0676, 172.4089, 758.7005, 223.0898]], device='cuda:0')\n",
      "Ground-truth box:  [602. 172. 762. 224.]\n",
      "0.9434289646211345\n",
      "For brand:  NatWest Personal Banking+2020-05-02-16`28`27\n",
      "Predicted box:  tensor([[205.5316,  46.1640, 347.4147,  91.4254],\n",
      "        [195.7152,  33.3458, 404.5904,  96.9098]], device='cuda:0')\n",
      "Ground-truth box:  [211.  50. 351.  96.]\n",
      "0.7836917757978432\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "For brand:  Amazon.com Inc.+2020-05-26-13`51`59\n",
      "Predicted box:  tensor([[ 902.1107,    5.3314, 1019.9830,   51.6811]], device='cuda:0')\n",
      "Ground-truth box:  [ 899.    5. 1015.   38.]\n",
      "0.6581583509683087\n",
      "For brand:  DGI (French Tax Authority)+2020-05-14-18`37`20\n",
      "Predicted box:  tensor([[ 109.1224,   37.5095,  196.1336,   96.6428],\n",
      "        [  99.4935,   26.5582,  500.5150,  100.5512],\n",
      "        [1010.0828,   15.5798, 1229.4481,   58.6929],\n",
      "        [1004.2850,   66.6426, 1238.6747,  113.0852],\n",
      "        [ 220.8163,   35.7463,  501.0514,   75.7503],\n",
      "        [1014.5806,   21.4887, 1043.6184,   52.8059]], device='cuda:0')\n",
      "Ground-truth box:  [111.  34. 199.  93.]\n",
      "0.8416130520763018\n",
      "For brand:  Amazon.com Inc.+2020-05-19-11`15`21\n",
      "Predicted box:  tensor([[625.4725,   4.5751, 743.1302,  47.7220]], device='cuda:0')\n",
      "Ground-truth box:  [626.   6. 740.  39.]\n",
      "0.7410515609658597\n",
      "For brand:  IRS+2020-05-15-10`39`00\n",
      "Predicted box:  tensor([[111.4888,  27.8506, 264.3532,  91.5076],\n",
      "        [120.9120, 560.6678, 258.8697, 617.5748]], device='cuda:0')\n",
      "Ground-truth box:  [119.  19. 265.  86.]\n",
      "0.7641652468134157\n",
      "For brand:  Wells Fargo & Company+2020-05-29-14`25`24\n",
      "Predicted box:  tensor([[452.7870,   4.5507, 689.2272,  48.0912]], device='cuda:0')\n",
      "Ground-truth box:  [458.   9. 692.  49.]\n",
      "0.851462009048729\n",
      "For brand:  Microsoft OneDrive+2020-05-18-13`16`40\n",
      "Predicted box:  tensor([[601.2736,  45.4835, 765.7702, 166.4587],\n",
      "        [608.3024,  50.7201, 732.7447, 125.8774]], device='cuda:0')\n",
      "Ground-truth box:  [600.  57. 774. 162.]\n",
      "0.8265025394697766\n",
      "For brand:  Visa International Service Association+2020-05-01-18`27`14\n",
      "Predicted box:  tensor([[ 795.2011,  130.0394, 1074.8588,  272.1592],\n",
      "        [ 120.6001,   24.8849,  348.3948,   51.5536],\n",
      "        [ 292.7250,  152.6880,  688.6210,  203.9028],\n",
      "        [ 271.5947,  133.3646,  722.0994,  259.7104]], device='cuda:0')\n",
      "Ground-truth box:  [ 856.  198. 1041.  267.]\n",
      "0.321173295155392\n",
      "For brand:  WeTransfer+2020-05-27-17`16`37\n",
      "Predicted box:  tensor([[   6.6007,   20.2476,   65.4253,   53.0378],\n",
      "        [  97.6745,  165.5159,  335.2982,  412.6277],\n",
      "        [1676.3138,   20.8247, 1723.1772,   50.5690],\n",
      "        [1675.1665,   19.3886, 1811.5348,   52.3199]], device='cuda:0')\n",
      "Ground-truth box:  [ 7. 19. 67. 55.]\n",
      "0.8815899059435683\n",
      "For brand:  SunTrust Bank+2020-05-19-11`36`54\n",
      "Predicted box:  tensor([[565.9627,  15.8751, 792.4373,  79.4845]], device='cuda:0')\n",
      "Ground-truth box:  [563.  13. 802.  86.]\n",
      "0.8256947806857066\n",
      "For brand:  WeTransfer+2020-05-29-15`45`46\n",
      "Predicted box:  tensor([[118.0385,  95.9703, 317.9131, 246.4612],\n",
      "        [ 10.3206,  11.1263,  70.1973,  44.9224],\n",
      "        [157.9913,  99.7100, 279.2544, 207.1111]], device='cuda:0')\n",
      "Ground-truth box:  [11. 10. 74. 46.]\n",
      "0.873273624244106\n",
      "For brand:  WhatsApp+2020-05-01-20`55`11\n",
      "Predicted box:  tensor([[442.9761,  17.1397, 921.5752, 129.7528],\n",
      "        [641.9527, 183.0827, 722.4186, 261.7449]], device='cuda:0')\n",
      "Ground-truth box:  [642. 185. 718. 258.]\n",
      "0.8765137611022362\n",
      "For brand:  Steam+2020-05-24-02`03`51\n",
      "Predicted box:  tensor([[ 481.3681,   19.9835,  640.6013,   77.0459],\n",
      "        [1288.8655,  152.7031, 1416.4039,  214.3261]], device='cuda:0')\n",
      "Ground-truth box:  [483.  19. 640.  85.]\n",
      "0.8540786354890976\n",
      "For brand:  Made-In-China+2020-05-23-21`57`27\n",
      "Predicted box:  tensor([[483.5490,  50.4411, 699.4995, 100.8669]], device='cuda:0')\n",
      "Ground-truth box:  [489.  58. 711. 111.]\n",
      "0.6619314174440142\n",
      "For brand:  DHL Airways, Inc.+2020-05-24-12`09`20\n",
      "Predicted box:  tensor([[ 24.1446,  26.3880, 155.8210,  61.6412],\n",
      "        [ 12.6091,  13.0572, 178.2209,  75.5674],\n",
      "        [644.0646,  10.9238, 732.5413,  37.2343]], device='cuda:0')\n",
      "Ground-truth box:  [ 20.  17. 164.  65.]\n",
      "0.6715890958310391\n",
      "For brand:  Instagram+2020-05-21-20`41`37\n",
      "Predicted box:  tensor([[  1.7991,   6.9299, 188.7651,  59.2977],\n",
      "        [  3.8573,  10.8162,  47.9662,  54.8264]], device='cuda:0')\n",
      "Ground-truth box:  [ 63.   9. 188.  53.]\n",
      "0.5617400370684373\n",
      "For brand:  ATB Financial+2020-05-23-15`35`57\n",
      "Predicted box:  tensor([[ 680.3625,   57.7201, 1220.0006,  117.6289],\n",
      "        [ 364.2160,  183.0096,  644.6228,  232.4975],\n",
      "        [ 683.1325,   55.2539,  958.7920,  113.6152]], device='cuda:0')\n",
      "Ground-truth box:  [ 948.   56. 1067.  107.]\n",
      "0.1802529614357608\n",
      "For brand:  DGI (French Tax Authority)+2020-05-17-08`43`02\n",
      "Predicted box:  tensor([[113.8429,  38.8138, 199.8374,  97.3796],\n",
      "        [107.9578,  27.3711, 504.9087,  99.1953],\n",
      "        [223.9720,  36.3013, 502.6181,  76.2840]], device='cuda:0')\n",
      "Ground-truth box:  [119.  35. 201.  90.]\n",
      "0.7650364053598558\n",
      "For brand:  Deutsche Telekom+2020-05-16-14`54`38\n",
      "Predicted box:  tensor([[ 172.7636,   18.0732,  251.3410,   63.3302],\n",
      "        [ 623.3117,   85.3039,  746.5219,  110.2271],\n",
      "        [1009.6815,   24.8710, 1192.1885,   58.0733],\n",
      "        [ 474.6700,  168.7780,  901.8619,  215.3997]], device='cuda:0')\n",
      "Ground-truth box:  [164.  20. 254.  72.]\n",
      "0.7047167113791943\n",
      "For brand:  Apple Inc.+2020-05-23-20`21`43\n",
      "Predicted box:  tensor([[  11.5597,    7.7842,   36.2411,   34.3951],\n",
      "        [ 896.2251,  351.0987, 1018.5349,  458.6926],\n",
      "        [  10.0388,    6.6229,   53.7671,   38.1723]], device='cuda:0')\n",
      "Ground-truth box:  [11. 10. 36. 36.]\n",
      "0.8390767965471053\n",
      "For brand:  DHL Airways, Inc.+2020-05-08-11`09`14\n",
      "Predicted box:  tensor([[539.7739,  71.7313, 818.7214, 129.9221],\n",
      "        [399.3834,  12.8166, 907.7898, 158.8532],\n",
      "        [414.8294,   8.3559, 659.7073,  38.5417],\n",
      "        [514.8995,  42.1028, 841.8268, 146.1052],\n",
      "        [621.1396,   6.9092, 947.9956,  49.5848]], device='cuda:0')\n",
      "Ground-truth box:  [537.  70. 830. 132.]\n",
      "0.8935458080202636\n",
      "For brand:  M & T Bank Coporation+2020-05-13-13`21`33\n",
      "Predicted box:  tensor([[610.0206,   4.5344, 754.1379,  47.0788]], device='cuda:0')\n",
      "Ground-truth box:  [609.   7. 759.  50.]\n",
      "0.8487526059322443\n",
      "For brand:  Credit Agricole S.A.+2020-05-01-17`41`00\n",
      "Predicted box:  tensor([[377.3462,  17.4536, 679.5646, 100.1800],\n",
      "        [379.8929,  18.4245, 479.6602,  89.5194],\n",
      "        [385.4956, 359.1158, 498.1329, 388.0006]], device='cuda:0')\n",
      "Ground-truth box:  [387.  23. 475.  88.]\n",
      "0.8064349235223987\n",
      "For brand:  Steam+2020-05-24-02`46`57\n",
      "Predicted box:  tensor([[ 481.3690,   19.9814,  640.5227,   77.0185],\n",
      "        [1288.9794,  151.6081, 1418.5686,  215.7089]], device='cuda:0')\n",
      "Ground-truth box:  [482.  20. 645.  80.]\n",
      "0.9205404897705208\n",
      "For brand:  Chase Personal Banking+2020-05-01-16`44`37\n",
      "Predicted box:  tensor([[581.7406,   3.8690, 772.3451,  55.7699]], device='cuda:0')\n",
      "Ground-truth box:  [577.   2. 771.  50.]\n",
      "0.8335771302472766\n",
      "For brand:  Comcast Corporation+2020-05-30-09`55`05\n",
      "Predicted box:  tensor([[1201.3374,   82.5410, 1337.6627,  134.1231],\n",
      "        [ 464.6672,   83.3729,  874.2809,  129.3162],\n",
      "        [ 461.1349,   88.6821,  896.0480,  178.3379]], device='cuda:0')\n",
      "Ground-truth box:  [1204.   82. 1338.  133.]\n",
      "0.9470660349750584\n",
      "For brand:  Webmail Providers+2020-05-27-10`18`39\n",
      "Predicted box:  tensor([[1428.2729,    0.0000, 1468.4502,   33.8747],\n",
      "        [ 452.2633,    2.1013,  626.7698,   35.6334]], device='cuda:0')\n",
      "Ground-truth box:  [454.   5. 499.  31.]\n",
      "0.1999462113770227\n",
      "For brand:  NetEase+2020-05-23-20`04`44\n",
      "Predicted box:  tensor([[2.1961e+01, 5.4623e+00, 1.8968e+02, 5.3459e+01],\n",
      "        [2.5174e+01, 6.5207e+01, 8.4556e+02, 7.2350e+02],\n",
      "        [1.3370e+03, 5.5954e+01, 1.9200e+03, 7.4634e+02],\n",
      "        [1.3662e+03, 1.7747e+00, 1.5389e+03, 5.8902e+01]], device='cuda:0')\n",
      "Ground-truth box:  [ 20.   0. 193.  56.]\n",
      "0.8308921301036626\n",
      "For brand:  Free (ISP)+2020-05-19-12`10`27\n",
      "Predicted box:  tensor([[182.5309,   7.3603, 319.1082,  59.0148],\n",
      "        [192.9329,   9.9705, 609.6533,  57.0794],\n",
      "        [189.0381, 396.3721, 372.8889, 458.1251],\n",
      "        [306.0343, 162.1766, 540.3826, 219.4939],\n",
      "        [275.2828,  21.3927, 613.2907,  47.6671]], device='cuda:0')\n",
      "Ground-truth box:  [187.   6. 320.  57.]\n",
      "0.9007952964271061\n",
      "For brand:  DocuSign+2020-05-19-06`16`47\n",
      "Predicted box:  tensor([[ 208.1250,   16.5084,  373.4655,   66.4345],\n",
      "        [ 410.7883,  294.5476,  567.8679,  339.1825],\n",
      "        [1150.9100,  542.4966, 1246.8823,  598.6096],\n",
      "        [ 407.6551,  292.7742,  935.4283,  340.4504]], device='cuda:0')\n",
      "Ground-truth box:  [201.  17. 380.  72.]\n",
      "0.8234230118570508\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "For brand:  RuneScape+2020-05-04-11`26`55\n",
      "Predicted box:  tensor([[609.7780, 170.8649, 750.1389, 219.9377],\n",
      "        [543.5679, 160.2555, 769.1774, 226.6999]], device='cuda:0')\n",
      "Ground-truth box:  [612. 172. 756. 221.]\n",
      "0.9044254445774612\n",
      "For brand:  WeTransfer+2020-05-29-12`51`06\n",
      "Predicted box:  tensor([[118.0385,  95.9703, 317.9131, 246.4612],\n",
      "        [ 10.3206,  11.1263,  70.1973,  44.9224],\n",
      "        [157.9913,  99.7100, 279.2544, 207.1111]], device='cuda:0')\n",
      "Ground-truth box:  [ 8.  6. 73. 48.]\n",
      "0.7412437344690216\n",
      "For brand:  Chronopost International+2020-05-02-18`12`53\n",
      "Predicted box:  tensor([[4.1468e-02, 2.7140e+01, 2.9777e+02, 1.0857e+02],\n",
      "        [0.0000e+00, 3.3247e+01, 5.6909e+01, 1.0645e+02],\n",
      "        [9.5606e+02, 6.7042e+02, 1.1170e+03, 7.1067e+02],\n",
      "        [2.0666e+02, 6.6848e+02, 3.4869e+02, 7.1312e+02]], device='cuda:0')\n",
      "Ground-truth box:  [  2.  32. 289.  92.]\n",
      "0.710235689649823\n",
      "For brand:  Dropbox, Inc.+2020-05-24-02`17`20\n",
      "Predicted box:  tensor([[ 11.4056,  16.6772, 284.2505,  61.4993],\n",
      "        [446.7184,  93.5499, 849.6104, 155.8995],\n",
      "        [433.6289,  71.4750, 859.7440, 205.3059]], device='cuda:0')\n",
      "Ground-truth box:  [ 12.  15. 166.  60.]\n",
      "0.5342599974664244\n",
      "For brand:  Comcast Corporation+2020-05-11-14`51`38\n",
      "Predicted box:  tensor([[ 923.5229,   82.4108, 1058.9545,  135.2501]], device='cuda:0')\n",
      "Ground-truth box:  [ 931.   83. 1056.  125.]\n",
      "0.7336382689094779\n",
      "For brand:  Alibaba+2020-05-02-13`43`42\n",
      "Predicted box:  tensor([[ 77.5384,  32.9730, 289.9436,  75.3216],\n",
      "        [192.9668, 213.3539, 708.6436, 383.8317]], device='cuda:0')\n",
      "Ground-truth box:  [ 81.  37. 282.  78.]\n",
      "0.8079616693876442\n",
      "For brand:  WhatsApp+2020-05-31-11`45`04\n",
      "Predicted box:  tensor([[ 424.6516,   17.9748,  576.1744,   72.5463],\n",
      "        [ 769.7139,  163.6760, 1144.4213,  381.4369],\n",
      "        [ 890.9409,  173.9782, 1030.7521,  314.6834]], device='cuda:0')\n",
      "Ground-truth box:  [429.  18. 581.  71.]\n",
      "0.9150289267384581\n",
      "For brand:  LinkedIn Corporation+2020-05-14-13`42`42\n",
      "Predicted box:  tensor([[603.4380,  19.5009, 755.9749,  63.3130]], device='cuda:0')\n",
      "Ground-truth box:  [603.  21. 753.  66.]\n",
      "0.890756302673097\n",
      "For brand:  Made-In-China+2020-05-27-17`29`16\n",
      "Predicted box:  tensor([[486.9562,  43.2488, 743.8414, 100.1512]], device='cuda:0')\n",
      "Ground-truth box:  [492.  48. 748. 106.]\n",
      "0.8041990484027007\n",
      "For brand:  ING+2020-05-11-14`36`07\n",
      "Predicted box:  tensor([[ 391.1895,   47.6658,  655.5500,  108.5917],\n",
      "        [ 960.1761,    4.2891, 1177.6992,  186.5096]], device='cuda:0')\n",
      "Ground-truth box:  [555. 105. 656. 146.]\n",
      "0.018160610021293773\n",
      "For brand:  LinkedIn Corporation+2020-05-13-11`24`46\n",
      "Predicted box:  tensor([[603.4380,  19.5009, 755.9749,  63.3130]], device='cuda:0')\n",
      "Ground-truth box:  [602.  23. 760.  64.]\n",
      "0.876989251364706\n",
      "For brand:  Grupo Santander+2020-05-24-04`23`46\n",
      "Predicted box:  tensor([[310.1191,  16.1097, 543.1992,  76.3103]], device='cuda:0')\n",
      "Ground-truth box:  [318.  22. 543.  79.]\n",
      "0.8348729498360243\n",
      "For brand:  Adobe Inc.+2020-05-23-12`33`13\n",
      "Predicted box:  tensor([[  96.7722,    5.9440,  251.8887,   42.0165],\n",
      "        [1152.2382,   53.5696, 1271.9861,   96.1991]], device='cuda:0')\n",
      "Ground-truth box:  [752. 181. 814. 238.]\n",
      "0\n",
      "For brand:  RBC Royal Bank+2020-05-24-15`32`25\n",
      "Predicted box:  tensor([[364.0124,   0.7816, 416.3058,  57.2794],\n",
      "        [361.1645,   0.0000, 540.0101,  56.9552]], device='cuda:0')\n",
      "Ground-truth box:  [364.   0. 413.  55.]\n",
      "0.8872866105257754\n",
      "For brand:  WhatsApp+2020-05-29-12`16`33\n",
      "Predicted box:  tensor([[ 622.4172,   20.6046, 1269.5800,  176.9078],\n",
      "        [ 910.9434,  241.3430,  992.3931,  321.7964]], device='cuda:0')\n",
      "Ground-truth box:  [918. 253. 987. 315.]\n",
      "0.6528402492833705\n",
      "For brand:  MWeb+2020-05-27-16`34`13\n",
      "Predicted box:  tensor([[4.7629e+02, 8.6124e+00, 5.7555e+02, 1.1173e+02],\n",
      "        [4.1242e+02, 0.0000e+00, 7.8459e+02, 1.4967e+02],\n",
      "        [3.8343e+02, 7.2279e-02, 6.2901e+02, 1.3432e+02],\n",
      "        [4.8309e+02, 8.4517e+00, 6.6553e+02, 1.2018e+02]], device='cuda:0')\n",
      "Ground-truth box:  [483.  17. 571. 106.]\n",
      "0.7651364282969382\n",
      "For brand:  RBC Royal Bank+2020-05-24-18`37`51\n",
      "Predicted box:  tensor([[348.5262,   5.9300, 403.8762,  64.8778],\n",
      "        [343.9033,   3.0461, 528.6403,  71.3408]], device='cuda:0')\n",
      "Ground-truth box:  [351.   8. 396.  61.]\n",
      "0.730976935339081\n",
      "For brand:  Grupo Santander+2020-05-25-08`58`40\n",
      "Predicted box:  tensor([[310.1194,  16.1100, 543.1975,  76.3109]], device='cuda:0')\n",
      "Ground-truth box:  [316.  24. 541.  80.]\n",
      "0.7919720347470914\n",
      "For brand:  Chase Personal Banking+2020-05-02-04`34`01\n",
      "Predicted box:  tensor([[591.8499,  19.1712, 776.5311,  60.0483],\n",
      "        [231.5912, 209.5078, 492.7409, 286.4730]], device='cuda:0')\n",
      "Ground-truth box:  [593.  11. 774.  64.]\n",
      "0.759354106979167\n",
      "For brand:  1&1 Ionos+2020-05-08-11`02`58\n",
      "Predicted box:  tensor([[ 81.9213,  27.3059, 138.3982,  81.2891],\n",
      "        [ 71.0026, 106.2409, 329.4023, 155.0801]], device='cuda:0')\n",
      "Ground-truth box:  [ 88.  33. 134.  80.]\n",
      "0.7091304257371327\n",
      "For brand:  PostFinance+2020-05-11-16`53`50\n",
      "Predicted box:  tensor([[ 31.8881,  18.2398, 217.4939,  69.0784],\n",
      "        [198.7010, 113.6301, 407.8035, 152.8059],\n",
      "        [247.9450, 387.1775, 414.8629, 430.5103],\n",
      "        [440.7438, 435.5540, 517.9841, 484.9115]], device='cuda:0')\n",
      "Ground-truth box:  [  4.   3. 242.  78.]\n",
      "0.5286248190950883\n",
      "For brand:  Yahoo! Inc+2020-05-25-14`48`38\n",
      "Predicted box:  tensor([[   3.8302,    5.0563,  161.5359,   53.4465],\n",
      "        [1025.4045,   94.7391, 1158.0975,  142.0642]], device='cuda:0')\n",
      "Ground-truth box:  [  6.   9. 157.  55.]\n",
      "0.8532208991499941\n",
      "For brand:  Netflix Inc.+2020-05-14-09`41`03\n",
      "Predicted box:  tensor([[  44.7738,   18.6280,  239.1033,   83.8218],\n",
      "        [ 488.8989,  122.0475,  581.7929,  159.1380],\n",
      "        [1025.1298,   43.2672, 1227.5510,  133.9092],\n",
      "        [ 918.9767,   22.4109, 1227.7700,  164.4807]], device='cuda:0')\n",
      "Ground-truth box:  [ 44.   6. 244.  83.]\n",
      "0.803959931842646\n",
      "For brand:  Instagram+2020-05-23-12`55`29\n",
      "Predicted box:  tensor([[ 855.0423,  286.6048, 1044.9092,  345.2783]], device='cuda:0')\n",
      "Ground-truth box:  [ 849.  275. 1054.  342.]\n",
      "0.7325627171573447\n",
      "For brand:  Discover+2020-05-01-12`15`57\n",
      "Predicted box:  tensor([[203.1654,  14.1974, 332.3723,  47.9037],\n",
      "        [200.0505,   8.3329, 448.0481,  51.4343]], device='cuda:0')\n",
      "Ground-truth box:  [196.   4. 330.  51.]\n",
      "0.6702958156339842\n",
      "For brand:  LinkedIn Corporation+2020-05-15-09`38`01\n",
      "Predicted box:  tensor([[603.4380,  19.5009, 755.9749,  63.3130]], device='cuda:0')\n",
      "Ground-truth box:  [603.  19. 761.  67.]\n",
      "0.8811912426001769\n",
      "For brand:  Adobe Inc.+2020-05-21-11`09`11\n",
      "Predicted box:  tensor([[406.8776, 146.0686, 533.2064, 230.5544],\n",
      "        [409.0724, 149.6568, 470.6273, 212.7690],\n",
      "        [925.0677, 148.7021, 960.7485, 201.8993]], device='cuda:0')\n",
      "Ground-truth box:  [417. 601. 504. 685.]\n",
      "0\n",
      "For brand:  Spotify+2020-05-01-20`49`09\n",
      "Predicted box:  tensor([[576.2704,  20.9580, 786.0440,  86.6035],\n",
      "        [578.4382,  19.6394, 646.3828,  86.2477]], device='cuda:0')\n",
      "Ground-truth box:  [575.  14. 785.  89.]\n",
      "0.8662092774844369\n",
      "For brand:  Facebook, Inc.+2020-05-25-02`17`57\n",
      "Predicted box:  tensor([[8.9543e+02, 4.8540e-01, 1.0260e+03, 4.2992e+01],\n",
      "        [9.1753e+02, 6.8343e+01, 9.9922e+02, 1.4966e+02],\n",
      "        [8.9355e+02, 1.8778e+01, 1.0273e+03, 1.5043e+02]], device='cuda:0')\n",
      "Ground-truth box:  [ 890.    2. 1030.   44.]\n",
      "0.8805712646350037\n",
      "For brand:  1&1 Ionos+2020-05-08-02`22`25\n",
      "Predicted box:  tensor([[ 19.0067,   8.3102, 150.1280,  57.1699],\n",
      "        [ 20.9548,   7.4398, 295.6143,  60.1869]], device='cuda:0')\n",
      "Ground-truth box:  [ 14.   8. 149.  53.]\n",
      "0.8706863709790948\n",
      "For brand:  Chronopost International+2020-05-07-22`22`15\n",
      "Predicted box:  tensor([[  1.6566,  31.1690, 290.0050, 108.3976],\n",
      "        [  0.0000,  33.4682,  59.7670, 106.3612]], device='cuda:0')\n",
      "Ground-truth box:  [  4.  25. 294.  95.]\n",
      "0.7508816627130731\n",
      "For brand:  Credit Agricole S.A.+2020-05-16-12`19`40\n",
      "Predicted box:  tensor([[8.2310e-01, 8.4344e+00, 1.6893e+02, 5.5750e+01],\n",
      "        [1.2976e+03, 0.0000e+00, 1.3638e+03, 6.2534e+01]], device='cuda:0')\n",
      "Ground-truth box:  [  3.  13. 175.  52.]\n",
      "0.7900800852503012\n",
      "For brand:  Steam+2020-05-24-01`59`35\n",
      "Predicted box:  tensor([[ 481.3681,   19.9835,  640.6013,   77.0459],\n",
      "        [1288.8655,  152.7031, 1416.4039,  214.3261]], device='cuda:0')\n",
      "Ground-truth box:  [486.  23. 638.  80.]\n",
      "0.8615364457979943\n",
      "For brand:  Juno Online Services+2020-05-09-11`36`48\n",
      "Predicted box:  tensor([[173.4767,  31.5217, 371.6409,  94.6126]], device='cuda:0')\n",
      "Ground-truth box:  [180.  27. 376.  98.]\n",
      "0.8438835858029605\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "For brand:  Steam+2020-05-22-22`19`23\n",
      "Predicted box:  tensor([[481.7389,  20.3551, 640.5421,  76.4594]], device='cuda:0')\n",
      "Ground-truth box:  [482.  25. 640.  82.]\n",
      "0.8309272881953081\n",
      "For brand:  Office365+2020-05-24-12`56`45\n",
      "Predicted box:  tensor([], device='cuda:0', size=(0, 4))\n",
      "Ground-truth box:  [480. 232. 564. 270.]\n",
      "0\n",
      "For brand:  PostFinance+2020-05-13-10`47`24\n",
      "Predicted box:  tensor([[497.6874,  14.1346, 670.4437,  73.5612]], device='cuda:0')\n",
      "Ground-truth box:  [502.  19. 664.  70.]\n",
      "0.804767102217846\n",
      "For brand:  AutoScout24+2020-05-27-16`53`44\n",
      "Predicted box:  tensor([[ 17.3999,  13.0594, 154.8402, 104.6259],\n",
      "        [ 24.1061,  35.6190, 147.1920,  79.0168],\n",
      "        [927.1354,   2.7702, 978.1358,  33.5502]], device='cuda:0')\n",
      "Ground-truth box:  [ 22.  10. 149.  80.]\n",
      "0.6552951447315207\n",
      "For brand:  WeTransfer+2020-05-27-10`45`20\n",
      "Predicted box:  tensor([[118.0385,  95.9703, 317.9131, 246.4612],\n",
      "        [ 10.3206,  11.1263,  70.1973,  44.9224],\n",
      "        [157.9913,  99.7100, 279.2544, 207.1111]], device='cuda:0')\n",
      "Ground-truth box:  [13. 10. 73. 48.]\n",
      "0.8154399411093847\n",
      "For brand:  Itau Unibanco S.A+2020-05-17-10`01`59\n",
      "Predicted box:  tensor([[ 13.1475,   7.7399, 216.5988,  64.6931]], device='cuda:0')\n",
      "Ground-truth box:  [ 13.   4. 220.  75.]\n",
      "0.7884062936002588\n",
      "For brand:  Apple Inc.+2020-05-18-16`25`19\n",
      "Predicted box:  tensor([[672.8676,   5.7959, 700.0552,  34.5758],\n",
      "        [666.4938,   2.0908, 712.3131,  39.3924]], device='cuda:0')\n",
      "Ground-truth box:  [672.   9. 699.  35.]\n",
      "0.8189645852619856\n",
      "For brand:  Bethpage Federal Credit Union+2020-05-02-07`52`19\n",
      "Predicted box:  tensor([[190.2224,  45.6401, 369.5962, 121.9587]], device='cuda:0')\n",
      "Ground-truth box:  [181.  49. 365. 110.]\n",
      "0.7480588395633719\n",
      "For brand:  RuneScape+2020-05-22-22`49`28\n",
      "Predicted box:  tensor([[ 116.6540,    2.9399,  180.2059,   50.3565],\n",
      "        [ 810.1639,  305.9152, 1011.7153,  379.0298],\n",
      "        [1268.5802,   96.5325, 1553.7302,  263.7868],\n",
      "        [ 860.8057,  315.7231, 1103.7671,  377.4691],\n",
      "        [ 786.5855,  295.8690, 1127.3007,  385.0598],\n",
      "        [ 125.8538,    7.7306,  164.2034,   42.5975]], device='cuda:0')\n",
      "Ground-truth box:  [ 967.  322. 1103.  372.]\n",
      "0.4532764669014798\n",
      "For brand:  Americanas.com S,A Comercio Electrnico+2020-05-25-18`26`36\n",
      "Predicted box:  tensor([[ 309.1353,   62.3366,  550.2238,  116.2517],\n",
      "        [ 771.6398,    1.9259, 1095.4591,   50.3174],\n",
      "        [ 782.7806,    0.0000,  842.0649,   53.5528],\n",
      "        [ 405.2136,    2.3861, 1090.7330,   52.8659],\n",
      "        [ 400.7804,    4.5969,  799.6949,   45.9285],\n",
      "        [ 346.2808,  275.3546,  816.0299,  557.1166]], device='cuda:0')\n",
      "Ground-truth box:  [315.  71. 538. 111.]\n",
      "0.6862428736790652\n",
      "For brand:  IRS+2020-05-30-11`18`38\n",
      "Predicted box:  tensor([[384.8586,  25.3837, 540.3040,  93.5305]], device='cuda:0')\n",
      "Ground-truth box:  [386.  27. 540.  94.]\n",
      "0.9606474326192711\n",
      "For brand:  Landesbank Berlin AG+2020-05-01-13`45`28\n",
      "Predicted box:  tensor([[  25.0269,   13.2471,   99.3968,   50.2199],\n",
      "        [  18.9894,    9.3565,  212.4357,   50.2211],\n",
      "        [1232.6115,   43.1108, 1349.4552,  156.0766],\n",
      "        [ 108.3115,   15.2685,  207.5684,   49.0241]], device='cuda:0')\n",
      "Ground-truth box:  [ 24.  16. 218.  53.]\n",
      "0.7468152525292039\n",
      "For brand:  Credit Agricole S.A.+2020-05-01-15`21`32\n",
      "Predicted box:  tensor([[377.3462,  17.4536, 679.5646, 100.1800],\n",
      "        [379.8929,  18.4245, 479.6602,  89.5194],\n",
      "        [385.4956, 359.1158, 498.1329, 388.0006]], device='cuda:0')\n",
      "Ground-truth box:  [387.  26. 477.  89.]\n",
      "0.7993856671979022\n",
      "For brand:  Etisalat+2020-05-24-01`20`56\n",
      "Predicted box:  tensor([[250.2607,   1.2273, 358.5919, 117.3955],\n",
      "        [752.4379, 427.1167, 833.7526, 486.9938]], device='cuda:0')\n",
      "Ground-truth box:  [255.   0. 354. 116.]\n",
      "0.8942520458804661\n",
      "For brand:  IRS+2020-05-02-13`27`57\n",
      "Predicted box:  tensor([[111.4868,  27.8497, 264.3519,  91.5081],\n",
      "        [120.9144, 560.6679, 258.8698, 617.5797]], device='cuda:0')\n",
      "Ground-truth box:  [106.  22. 273.  98.]\n",
      "0.7667146676350219\n",
      "For brand:  SF Express Co.+2020-05-21-11`39`53\n",
      "Predicted box:  tensor([[ 393.1352,   16.4620,  548.4997,   80.0502],\n",
      "        [ 387.3565,   14.0137,  658.5220,   91.2567],\n",
      "        [ 550.7906,   58.5581,  658.8677,   90.1213],\n",
      "        [ 398.6422,   21.2966,  457.6613,   76.7880],\n",
      "        [ 791.6564,  359.0266, 1095.0365,  432.9163]], device='cuda:0')\n",
      "Ground-truth box:  [391.  21. 549.  83.]\n",
      "0.8736572171922828\n",
      "For brand:  Alibaba+2020-05-23-23`32`43\n",
      "Predicted box:  tensor([[358.1346,  29.2456, 557.2619,  74.5113]], device='cuda:0')\n",
      "Ground-truth box:  [359.  32. 552.  76.]\n",
      "0.8821328624385595\n",
      "For brand:  Credit Agricole S.A.+2020-05-27-10`43`20\n",
      "Predicted box:  tensor([[653.3636,  17.3809, 945.3438, 102.7796],\n",
      "        [658.2615,  15.6722, 761.2692,  94.1591]], device='cuda:0')\n",
      "Ground-truth box:  [654.  19. 765. 101.]\n",
      "0.8197078444868583\n",
      "For brand:  WeTransfer+2020-05-14-11`10`44\n",
      "Predicted box:  tensor([[  10.9094,   11.5772,   69.8258,   45.8627],\n",
      "        [ 826.1556,    0.0000, 1306.5388,  145.8289],\n",
      "        [ 744.2072,    9.6852, 1318.8683,  508.0751],\n",
      "        [ 821.1854,    0.0000,  979.2805,  141.1974],\n",
      "        [ 771.0402,    0.0000, 1354.5293,  255.1569],\n",
      "        [ 752.2402,  140.4430,  888.3223,  302.7599],\n",
      "        [   8.4676,   12.2406,  111.3680,   53.8865]], device='cuda:0')\n",
      "Ground-truth box:  [15. 15. 66. 43.]\n",
      "0.7069388065427763\n",
      "For brand:  Netflix Inc.+2020-05-24-23`29`00\n",
      "Predicted box:  tensor([[   0.0000,    4.5526,   85.4091,   53.2762],\n",
      "        [  80.2760,    3.2324,  291.5813,   88.1508],\n",
      "        [ 843.9760,    9.6354,  981.3883,  122.2902],\n",
      "        [1151.1206,    2.4022, 1371.8730,  188.2804],\n",
      "        [ 821.1061,    3.3937, 1106.9178,  162.2575],\n",
      "        [1182.9019,  124.6294, 1295.0605,  190.1638]], device='cuda:0')\n",
      "Ground-truth box:  [ 89.   3. 292.  73.]\n",
      "0.7843243162341776\n",
      "For brand:  Bank of America+2020-05-12-14`31`39\n",
      "Predicted box:  tensor([[118.5037,  13.4945, 359.7247,  52.2094],\n",
      "        [123.5861,  85.5943, 418.4829, 155.5981]], device='cuda:0')\n",
      "Ground-truth box:  [121.   8. 362.  60.]\n",
      "0.7318436426739142\n",
      "For brand:  RuneScape+2020-05-17-10`01`04\n",
      "Predicted box:  tensor([[173.2034,  28.3414, 331.8326,  87.2800],\n",
      "        [166.0230, 114.3388, 605.7986, 218.9610]], device='cuda:0')\n",
      "Ground-truth box:  [169.  31. 336.  92.]\n",
      "0.8415377268425782\n",
      "For brand:  Webmail Providers+2020-05-30-14`20`32\n",
      "Predicted box:  tensor([[ 806.8687,  117.1844, 1119.3816,  194.1558]], device='cuda:0')\n",
      "Ground-truth box:  [ 812.  117. 1132.  202.]\n",
      "0.8573875370937686\n",
      "For brand:  Netflix Inc.+2020-05-11-16`14`12\n",
      "Predicted box:  tensor([[  28.3792,    9.6979,  215.0722,   75.0614],\n",
      "        [ 491.9336,  126.5822,  602.8480,  170.9530],\n",
      "        [ 953.7642,    5.1526, 1158.0945,  114.4385]], device='cuda:0')\n",
      "Ground-truth box:  [ 32.  10. 222.  76.]\n",
      "0.9282231271176349\n",
      "For brand:  Visa International Service Association+2020-05-08-00`59`39\n",
      "Predicted box:  tensor([[ 795.2011,  130.0394, 1074.8588,  272.1592],\n",
      "        [ 120.6001,   24.8849,  348.3948,   51.5536],\n",
      "        [ 292.7250,  152.6880,  688.6210,  203.9028],\n",
      "        [ 271.5947,  133.3646,  722.0994,  259.7104]], device='cuda:0')\n",
      "Ground-truth box:  [ 858.  198. 1041.  268.]\n",
      "0.3223055159373734\n",
      "For brand:  Adobe Inc.+2020-05-08-01`45`26\n",
      "Predicted box:  tensor([[ 13.3637,  11.8390, 163.3416,  61.9849],\n",
      "        [605.1622, 185.6712, 767.6327, 354.9596],\n",
      "        [ 15.1589,   9.0826, 357.7459,  66.0483],\n",
      "        [ 14.7619,  12.1284,  63.6304,  62.4064]], device='cuda:0')\n",
      "Ground-truth box:  [18. 18. 61. 61.]\n",
      "0.7525415809610901\n",
      "For brand:  Chase Personal Banking+2020-05-19-09`46`04\n",
      "Predicted box:  tensor([[271.7462,   4.7338, 420.3741,  41.8687]], device='cuda:0')\n",
      "Ground-truth box:  [274.   1. 418.  41.]\n",
      "0.8622052869993878\n",
      "For brand:  Steam+2020-05-23-13`58`50\n",
      "Predicted box:  tensor([[472.0663,  20.4819, 631.9208,  77.4006],\n",
      "        [474.1121,  23.2076, 527.3911,  77.6783]], device='cuda:0')\n",
      "Ground-truth box:  [471.  23. 641.  84.]\n",
      "0.8072548036715573\n",
      "For brand:  Societe Generale+2020-05-30-10`47`19\n",
      "Predicted box:  tensor([[ 56.4976,  47.2178, 315.3671,  94.6769],\n",
      "        [ 65.5645,  52.7415, 202.4651,  92.4943]], device='cuda:0')\n",
      "Ground-truth box:  [196.  54. 326.  92.]\n",
      "0.3574497706955029\n",
      "For brand:  Itau Unibanco S.A+2020-05-02-08`02`51\n",
      "Predicted box:  tensor([[ 342.2015,  312.4688, 1032.2720,  388.1129],\n",
      "        [ 345.4688,  336.2147,  857.1213,  381.5111],\n",
      "        [ 346.4121,  332.8861,  557.5715,  377.8434]], device='cuda:0')\n",
      "Ground-truth box:  [ 335.  305. 1034.  389.]\n",
      "0.8890203109285842\n",
      "For brand:  RBC Royal Bank+2020-05-21-09`43`14\n",
      "Predicted box:  tensor([[ 94.9765,   1.5573, 147.3883,  56.0829],\n",
      "        [ 88.5549,   0.0000, 276.8954,  59.0149]], device='cuda:0')\n",
      "Ground-truth box:  [ 98.   7. 144.  55.]\n",
      "0.7726272313580115\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "For brand:  Lloyds TSB Group+2020-05-29-14`43`36\n",
      "Predicted box:  tensor([[ 924.3199,    2.9694,  977.4374,   47.6632],\n",
      "        [ 782.8500,   72.3359, 1100.8932,  111.1749]], device='cuda:0')\n",
      "Ground-truth box:  [921.   2. 979.  46.]\n",
      "0.8656728314715642\n",
      "For brand:  Alibaba+2020-05-23-19`54`57\n",
      "Predicted box:  tensor([[306.7766,  42.4121, 526.1706,  97.7089]], device='cuda:0')\n",
      "Ground-truth box:  [315.  43. 528.  98.]\n",
      "0.9397288880678812\n",
      "For brand:  RBC Royal Bank+2020-05-24-12`18`23\n",
      "Predicted box:  tensor([[364.0138,   0.7829, 416.3031,  57.2788],\n",
      "        [361.1664,   0.0000, 540.0074,  56.9546]], device='cuda:0')\n",
      "Ground-truth box:  [367.   1. 416.  57.]\n",
      "0.9288678802804441\n",
      "For brand:  M & T Bank Coporation+2020-05-24-04`16`51\n",
      "Predicted box:  tensor([[ 886.8766,    2.9493, 1032.7706,   48.7720]], device='cuda:0')\n",
      "Ground-truth box:  [ 887.    9. 1032.   46.]\n",
      "0.8025135799705627\n",
      "For brand:  PayPal Inc.+2020-05-29-13`08`35\n",
      "Predicted box:  tensor([[ 885.9152,  124.2278, 1033.5607,  172.2351]], device='cuda:0')\n",
      "Ground-truth box:  [ 881.  126. 1031.  174.]\n",
      "0.8849560602864478\n",
      "For brand:  Adobe Inc.+2020-05-01-13`21`53\n",
      "Predicted box:  tensor([[ 143.8411,   37.2064,  475.8232,  114.2619],\n",
      "        [ 147.7428,   45.5826,  207.5564,  107.2761],\n",
      "        [ 151.2000,   45.4348,  376.6223,   99.1096],\n",
      "        [ 929.0775,   46.4299, 1233.0228,   92.5348]], device='cuda:0')\n",
      "Ground-truth box:  [151.  51. 206. 103.]\n",
      "0.7750447242582476\n",
      "For brand:  Spotify+2020-05-02-04`50`34\n",
      "Predicted box:  tensor([[576.2704,  20.9580, 786.0440,  86.6035],\n",
      "        [578.4382,  19.6394, 646.3828,  86.2477]], device='cuda:0')\n",
      "Ground-truth box:  [578.  17. 788.  85.]\n",
      "0.9046945327636605\n",
      "For brand:  Google Inc.+2020-05-27-13`39`55\n",
      "Predicted box:  tensor([[ 175.2193,    5.7157,  395.4774,   61.3319],\n",
      "        [ 901.0398,  250.1169, 1059.7748,  308.8561]], device='cuda:0')\n",
      "Ground-truth box:  [173.   2. 328.  58.]\n",
      "0.6172220882265356\n",
      "For brand:  Bank of America+2020-05-18-17`08`04\n",
      "Predicted box:  tensor([[118.5037,  13.4945, 359.7247,  52.2094],\n",
      "        [123.5861,  85.5943, 418.4829, 155.5981]], device='cuda:0')\n",
      "Ground-truth box:  [118.   8. 357.  56.]\n",
      "0.7975263764857587\n",
      "For brand:  AT&T Inc.+2020-05-14-10`32`59\n",
      "Predicted box:  tensor([[235.4489,  47.6144, 287.7207,  96.8181]], device='cuda:0')\n",
      "Ground-truth box:  [231.  48. 289.  97.]\n",
      "0.8915675625879886\n",
      "For brand:  DGI (French Tax Authority)+2020-05-27-16`53`32\n",
      "Predicted box:  tensor([[380.0561,  22.9624, 784.2177,  99.0961],\n",
      "        [389.3467,  36.1622, 479.5952,  95.3549],\n",
      "        [484.1906,  30.5044, 779.3005,  80.2312]], device='cuda:0')\n",
      "Ground-truth box:  [388.  27. 477.  97.]\n",
      "0.8127726763522352\n",
      "For brand:  Deutsche Telekom+2020-05-16-20`48`27\n",
      "Predicted box:  tensor([[ 172.7636,   18.0732,  251.3410,   63.3302],\n",
      "        [ 623.3117,   85.3039,  746.5219,  110.2271],\n",
      "        [1009.6815,   24.8710, 1192.1885,   58.0733],\n",
      "        [ 474.6700,  168.7780,  901.8619,  215.3997]], device='cuda:0')\n",
      "Ground-truth box:  [170.  16. 254.  69.]\n",
      "0.7987819855506206\n",
      "For brand:  LinkedIn Corporation+2020-05-18-13`51`50\n",
      "Predicted box:  tensor([[603.4427,  19.5010, 755.9678,  63.3349]], device='cuda:0')\n",
      "Ground-truth box:  [600.  22. 762.  66.]\n",
      "0.8395897961299186\n",
      "For brand:  Match+2020-05-26-13`57`24\n",
      "Predicted box:  tensor([[469.7814,   3.7985, 591.7986,  50.4119]], device='cuda:0')\n",
      "Ground-truth box:  [471.   3. 588.  50.]\n",
      "0.9350485979465233\n",
      "For brand:  ATB Financial+2020-05-04-13`12`15\n",
      "Predicted box:  tensor([[401.3281,  54.7278, 950.5246, 117.9840],\n",
      "        [408.6438,  38.1814, 953.8977, 188.4084]], device='cuda:0')\n",
      "Ground-truth box:  [684.  52. 801. 117.]\n",
      "0.2078153796276248\n",
      "For brand:  Grupo Santander+2020-05-02-19`38`17\n",
      "Predicted box:  tensor([[577.0833,   3.8135, 787.7077,  57.0411],\n",
      "        [  6.0817,  77.5852,  84.3472, 150.7328],\n",
      "        [582.2948,   2.9179, 632.9508,  51.4689]], device='cuda:0')\n",
      "Ground-truth box:  [583.   7. 791.  61.]\n",
      "0.8397090498945714\n",
      "For brand:  SF Express Co.+2020-05-24-18`46`04\n",
      "Predicted box:  tensor([[2.8904e+02, 2.2912e+00, 4.9943e+02, 5.4761e+01],\n",
      "        [5.6255e+02, 1.3164e+01, 9.8538e+02, 4.3820e+01],\n",
      "        [2.9606e+02, 3.8238e+00, 3.4816e+02, 5.3454e+01],\n",
      "        [2.9314e+02, 1.8084e+00, 3.9448e+02, 5.2144e+01],\n",
      "        [8.6858e+02, 6.1218e+01, 1.2532e+03, 2.5608e+02],\n",
      "        [3.7908e+02, 1.1441e+00, 9.8430e+02, 5.0705e+01]], device='cuda:0')\n",
      "Ground-truth box:  [298.   2. 352.  55.]\n",
      "0.8415541407756736\n",
      "For brand:  Visa International Service Association+2020-05-15-20`49`10\n",
      "Predicted box:  tensor([[ 795.2011,  130.0394, 1074.8588,  272.1592],\n",
      "        [ 120.6001,   24.8849,  348.3948,   51.5536],\n",
      "        [ 292.7250,  152.6880,  688.6210,  203.9028],\n",
      "        [ 271.5947,  133.3646,  722.0994,  259.7104]], device='cuda:0')\n",
      "Ground-truth box:  [ 857.  198. 1044.  268.]\n",
      "0.3293504452474799\n",
      "For brand:  LinkedIn Corporation+2020-05-18-15`26`45\n",
      "Predicted box:  tensor([[603.4427,  19.5010, 755.9678,  63.3349]], device='cuda:0')\n",
      "Ground-truth box:  [593.  17. 766.  69.]\n",
      "0.7431932328054915\n",
      "For brand:  Webmail Providers+2020-05-24-17`19`27\n",
      "Predicted box:  tensor([[1428.2729,    0.0000, 1468.4502,   33.8747],\n",
      "        [ 452.2633,    2.1013,  626.7698,   35.6334]], device='cuda:0')\n",
      "Ground-truth box:  [459.   3. 498.  32.]\n",
      "0.19328133766445527\n",
      "For brand:  eBay Inc.+2020-05-14-21`42`49\n",
      "Predicted box:  tensor([[  9.6820,  20.9172, 105.5970,  63.7740],\n",
      "        [634.3904, 111.8983, 732.7969, 152.5119],\n",
      "        [636.7969, 789.5509, 722.8219, 831.0992]], device='cuda:0')\n",
      "Ground-truth box:  [  8.  18. 107.  63.]\n",
      "0.8911801084793691\n",
      "For brand:  Dropbox, Inc.+2020-05-26-11`08`04\n",
      "Predicted box:  tensor([[ 855.2015,    6.1063, 1043.2012,   60.0619],\n",
      "        [ 630.1992,  257.8801, 1199.4122,  654.2495]], device='cuda:0')\n",
      "Ground-truth box:  [ 847.    7. 1052.   60.]\n",
      "0.9021536685696445\n",
      "For brand:  Webmail Providers+2020-05-01-12`37`33\n",
      "Predicted box:  tensor([[1.7093e+02, 1.8400e+00, 3.5628e+02, 3.3648e+01],\n",
      "        [1.1602e+03, 3.9823e-01, 1.1999e+03, 3.4560e+01],\n",
      "        [1.7006e+02, 1.6851e+00, 2.1477e+02, 3.2539e+01]], device='cuda:0')\n",
      "Ground-truth box:  [173.   6. 211.  31.]\n",
      "0.688594128297231\n",
      "For brand:  Adobe Inc.+2020-05-11-18`19`48\n",
      "Predicted box:  tensor([[ 143.8411,   37.2064,  475.8232,  114.2619],\n",
      "        [ 147.7428,   45.5826,  207.5564,  107.2761],\n",
      "        [ 930.7524,   48.2324, 1229.9084,   97.1453],\n",
      "        [ 151.2000,   45.4348,  376.6223,   99.1096]], device='cuda:0')\n",
      "Ground-truth box:  [153.  52. 205. 101.]\n",
      "0.6904943907028024\n",
      "For brand:  U.S. Bank+2020-05-30-12`52`17\n",
      "Predicted box:  tensor([[478.0063,  23.7203, 690.6453,  92.0246],\n",
      "        [479.7776,  29.4452, 555.1970,  85.7078]], device='cuda:0')\n",
      "Ground-truth box:  [481.  26. 686.  82.]\n",
      "0.7904078379107089\n",
      "For brand:  Bank of America+2020-05-23-15`03`42\n",
      "Predicted box:  tensor([[488.4090,  14.7057, 725.3365,  54.0683],\n",
      "        [474.7427,  73.5811, 728.8407, 133.2361]], device='cuda:0')\n",
      "Ground-truth box:  [475.  10. 729.  58.]\n",
      "0.7649366467291671\n",
      "For brand:  Amazon.com Inc.+2020-05-14-12`18`41\n",
      "Predicted box:  tensor([[625.4725,   4.5751, 743.1302,  47.7220]], device='cuda:0')\n",
      "Ground-truth box:  [622.   1. 740.  39.]\n",
      "0.7017824888011299\n",
      "For brand:  Deutsche Telekom+2020-05-10-21`34`10\n",
      "Predicted box:  tensor([[ 186.6332,   20.3462,  263.8629,   66.8494],\n",
      "        [ 604.1782,  136.2218,  760.4060,  190.5622],\n",
      "        [ 998.4426,   27.3826, 1180.9751,   58.6124],\n",
      "        [ 169.0476,   14.0197,  320.0467,   77.0494]], device='cuda:0')\n",
      "Ground-truth box:  [174.  14. 269.  71.]\n",
      "0.6632380198530314\n",
      "For brand:  Facebook, Inc.+2020-05-24-17`39`12\n",
      "Predicted box:  tensor([[8.9543e+02, 4.8540e-01, 1.0260e+03, 4.2992e+01],\n",
      "        [9.1753e+02, 6.8343e+01, 9.9922e+02, 1.4966e+02],\n",
      "        [8.9355e+02, 1.8778e+01, 1.0273e+03, 1.5043e+02]], device='cuda:0')\n",
      "Ground-truth box:  [ 897.    9. 1025.   44.]\n",
      "0.7662102203680607\n",
      "For brand:  WhatsApp+2020-05-24-01`42`28\n",
      "Predicted box:  tensor([[ 622.5181,   20.8670, 1269.7252,  176.5627],\n",
      "        [ 908.0480,  238.6037,  995.1770,  322.1852],\n",
      "        [ 468.5442,  856.2570, 1442.1327,  952.3364]], device='cuda:0')\n",
      "Ground-truth box:  [914. 249. 988. 314.]\n",
      "0.6604991604345909\n",
      "For brand:  DocuSign+2020-05-01-18`04`00\n",
      "Predicted box:  tensor([[ 31.9777,  12.1489, 177.3122,  62.9337],\n",
      "        [587.3606, 274.6367, 799.4191, 319.4844],\n",
      "        [619.6294, 442.1208, 763.6625, 482.6562]], device='cuda:0')\n",
      "Ground-truth box:  [ 32.  16. 185.  63.]\n",
      "0.879808250302871\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "For brand:  American Express+2020-05-22-11`14`30\n",
      "Predicted box:  tensor([[ 181.7934,   11.4393,  251.1842,   77.3643],\n",
      "        [1529.5352,   12.2241, 1601.8865,   79.1620]], device='cuda:0')\n",
      "Ground-truth box:  [187.  17. 245.  74.]\n",
      "0.722687585104559\n",
      "For brand:  Itau Unibanco S.A+2020-05-30-11`40`32\n",
      "Predicted box:  tensor([[ 713.2982,  287.1070, 1226.4171,  434.0106],\n",
      "        [ 716.3148,  342.5727, 1162.1316,  423.9561]], device='cuda:0')\n",
      "Ground-truth box:  [ 712.  299. 1225.  444.]\n",
      "0.8562983880485281\n",
      "For brand:  Google Inc.+2020-05-26-13`16`00\n",
      "Predicted box:  tensor([[ 918.5532,  101.6380,  997.3751,  132.9663],\n",
      "        [ 897.6555,   93.9612, 1020.3049,  137.0211]], device='cuda:0')\n",
      "Ground-truth box:  [919.  96. 998. 138.]\n",
      "0.7369028331466259\n",
      "For brand:  IRS+2020-05-24-19`00`16\n",
      "Predicted box:  tensor([[384.9155,  25.3644, 540.3005,  93.5630]], device='cuda:0')\n",
      "Ground-truth box:  [381.  27. 547.  94.]\n",
      "0.9091730130874716\n",
      "For brand:  ICICI Bank Limited+2020-05-27-10`29`06\n",
      "Predicted box:  tensor([[191.7042,  18.9600, 381.0703,  75.6207]], device='cuda:0')\n",
      "Ground-truth box:  [193.  14. 393.  79.]\n",
      "0.8151041366112218\n",
      "For brand:  First Investment Bank+2020-05-27-10`57`57\n",
      "Predicted box:  tensor([[  8.3423,   0.0000, 161.1951,  51.0303]], device='cuda:0')\n",
      "Ground-truth box:  [ 20.   0. 164.  44.]\n",
      "0.7840667995005897\n",
      "For brand:  Yahoo! Inc+2020-05-30-10`37`49\n",
      "Predicted box:  tensor([[  39.9495,   19.4800,  176.4957,   67.3014],\n",
      "        [1244.7415,  119.3468, 1341.8623,  153.6235]], device='cuda:0')\n",
      "Ground-truth box:  [ 42.  19. 173.  64.]\n",
      "0.8846322020916684\n",
      "For brand:  TPG Telecom+2020-05-14-18`28`47\n",
      "Predicted box:  tensor([[215.8039,  66.9278, 333.0114, 110.8984],\n",
      "        [391.5060, 173.7007, 473.4630, 256.5323],\n",
      "        [249.7344, 159.1012, 793.2757, 275.4517]], device='cuda:0')\n",
      "Ground-truth box:  [216.  66. 337. 113.]\n",
      "0.9033360891116633\n",
      "For brand:  eBay Inc.+2020-05-07-22`49`16\n",
      "Predicted box:  tensor([[595.4174,  22.5299, 739.7804,  64.2044],\n",
      "        [563.4489,  15.6671, 789.2908,  78.1583],\n",
      "        [614.9661, 749.5286, 702.3091, 790.4706]], device='cuda:0')\n",
      "Ground-truth box:  [591.  21. 689.  63.]\n",
      "0.5968987617827582\n",
      "For brand:  Dropbox, Inc.+2020-05-18-11`44`03\n",
      "Predicted box:  tensor([[655.9904,  46.2736, 712.5146,  91.3952],\n",
      "        [616.6088,  45.0157, 719.6811,  95.1472],\n",
      "        [651.0095,  42.6513, 751.8792,  95.1097]], device='cuda:0')\n",
      "Ground-truth box:  [653.  47. 709.  88.]\n",
      "0.8130709814057123\n",
      "For brand:  Spectrum+2020-05-24-18`08`07\n",
      "Predicted box:  tensor([[ 890.3919,   24.4560, 1019.0109,   65.4555],\n",
      "        [ 486.4388,  113.5496,  603.1522,  162.9291]], device='cuda:0')\n",
      "Ground-truth box:  [ 883.   20. 1020.   66.]\n",
      "0.8367689394610566\n",
      "For brand:  LinkedIn Corporation+2020-05-09-12`06`45\n",
      "Predicted box:  tensor([[ 109.2097,    6.6383,  236.1486,   46.0549],\n",
      "        [ 549.8282,  228.5152,  807.6558,  297.3297],\n",
      "        [1095.3981,    8.1987, 1249.8578,   46.3404]], device='cuda:0')\n",
      "Ground-truth box:  [112.  15. 236.  47.]\n",
      "0.7520083824291002\n",
      "For brand:  BT Group plc+2020-05-02-14`36`32\n",
      "Predicted box:  tensor([[480.7770,   6.4842, 536.2559,  59.1374],\n",
      "        [462.0580,   3.4619, 568.8641,  66.5449],\n",
      "        [479.7728,   6.4884, 800.5560,  69.6624],\n",
      "        [472.8685,   6.8063, 660.8546,  61.9874]], device='cuda:0')\n",
      "Ground-truth box:  [478.   5. 538.  57.]\n",
      "0.8653672740474826\n",
      "For brand:  DGI (French Tax Authority)+2020-05-12-11`50`22\n",
      "Predicted box:  tensor([[113.8429,  38.8138, 199.8374,  97.3796],\n",
      "        [107.9578,  27.3711, 504.9087,  99.1953],\n",
      "        [223.9720,  36.3013, 502.6181,  76.2840]], device='cuda:0')\n",
      "Ground-truth box:  [113.  35. 203.  91.]\n",
      "0.803012543694855\n",
      "For brand:  eBay Inc.+2020-05-10-23`49`16\n",
      "Predicted box:  tensor([[  9.6820,  20.9172, 105.5970,  63.7740],\n",
      "        [634.3904, 111.8983, 732.7969, 152.5119],\n",
      "        [636.7969, 789.5509, 722.8219, 831.0992]], device='cuda:0')\n",
      "Ground-truth box:  [  8.  20. 107.  65.]\n",
      "0.9226967223571632\n",
      "For brand:  American Express+2020-05-08-01`19`35\n",
      "Predicted box:  tensor([[179.1984,   5.5973, 231.3018,  55.7958],\n",
      "        [177.1354,   2.6284, 334.0760,  55.0655]], device='cuda:0')\n",
      "Ground-truth box:  [181.   7. 227.  53.]\n",
      "0.8090185217122062\n",
      "For brand:  eBay Inc.+2020-05-02-06`42`35\n",
      "Predicted box:  tensor([[ 621.3895,   27.2177,  747.1979,   83.5768],\n",
      "        [1023.4938,  627.0978, 1113.8147,  673.2313]], device='cuda:0')\n",
      "Ground-truth box:  [616.  23. 755.  85.]\n",
      "0.8227491146366528\n",
      "For brand:  Comcast Corporation+2020-05-23-21`28`42\n",
      "Predicted box:  tensor([[1201.5006,   81.0163, 1338.0229,  134.5232]], device='cuda:0')\n",
      "Ground-truth box:  [1199.   87. 1343.  128.]\n",
      "0.7353909222978042\n",
      "For brand:  Juno Online Services+2020-05-19-01`04`00\n",
      "Predicted box:  tensor([[173.4767,  31.5217, 371.6409,  94.6126]], device='cuda:0')\n",
      "Ground-truth box:  [175.  33. 374.  90.]\n",
      "0.8869735535195862\n",
      "For brand:  United Services Automobile Association+2020-05-08-04`00`31\n",
      "Predicted box:  tensor([[217.7738,  20.8121, 300.0088, 100.4292],\n",
      "        [212.9513,  20.2245, 383.6034, 102.7545],\n",
      "        [826.3061, 335.7967, 987.0940, 365.7072]], device='cuda:0')\n",
      "Ground-truth box:  [215.  16. 297. 103.]\n",
      "0.8554567459621027\n",
      "For brand:  WeTransfer+2020-05-13-13`05`59\n",
      "Predicted box:  tensor([[ 112.9007,  190.9590,  309.5269,  225.2466],\n",
      "        [  10.9186,   11.5920,   69.8478,   45.8812],\n",
      "        [ 826.1556,    0.0000, 1306.5388,  145.8289],\n",
      "        [ 743.4650,    9.6978, 1319.0516,  508.0147],\n",
      "        [ 821.1854,    0.0000,  979.2805,  141.1974],\n",
      "        [   8.4473,   12.3589,  110.3910,   53.5848],\n",
      "        [ 771.0402,    0.0000, 1354.5293,  255.1569],\n",
      "        [ 752.2402,  140.4430,  888.3223,  302.7599]], device='cuda:0')\n",
      "Ground-truth box:  [16. 15. 66. 45.]\n",
      "0.7423405766023806\n",
      "For brand:  Itau Unibanco S.A+2020-05-10-23`42`15\n",
      "Predicted box:  tensor([[ 13.1475,   7.7399, 216.5988,  64.6931]], device='cuda:0')\n",
      "Ground-truth box:  [  8.   8. 218.  68.]\n",
      "0.9115900891301658\n",
      "For brand:  U.S. Bank+2020-05-24-19`54`21\n",
      "Predicted box:  tensor([[478.0063,  23.7203, 690.6453,  92.0246],\n",
      "        [479.7776,  29.4452, 555.1970,  85.7078]], device='cuda:0')\n",
      "Ground-truth box:  [479.  30. 690.  83.]\n",
      "0.7699591333933326\n",
      "For brand:  American Express+2020-05-12-12`59`54\n",
      "Predicted box:  tensor([[179.1984,   5.5973, 231.3018,  55.7958],\n",
      "        [177.1354,   2.6284, 334.0760,  55.0655]], device='cuda:0')\n",
      "Ground-truth box:  [181.   7. 227.  52.]\n",
      "0.7914311625445496\n",
      "For brand:  eBay Inc.+2020-05-02-20`02`07\n",
      "Predicted box:  tensor([[  9.6887,  20.9456, 105.5661,  63.7410],\n",
      "        [634.1746, 111.8690, 732.9256, 152.4753],\n",
      "        [636.6827, 788.5811, 723.0165, 830.2762],\n",
      "        [563.9908, 108.9615, 820.6876, 182.6004]], device='cuda:0')\n",
      "Ground-truth box:  [ 12.  24. 105.  61.]\n",
      "0.8386312872135794\n",
      "For brand:  Grupo Santander+2020-05-14-12`13`49\n",
      "Predicted box:  tensor([[311.7301,  18.6605, 548.7034,  79.9073]], device='cuda:0')\n",
      "Ground-truth box:  [316.  22. 545.  80.]\n",
      "0.9123288056398569\n",
      "For brand:  Office365+2020-05-19-03`42`28\n",
      "Predicted box:  tensor([[504.5908, 217.0780, 630.1941, 256.5013],\n",
      "        [495.6489, 216.3410, 862.9578, 264.3784],\n",
      "        [798.3237, 214.2703, 855.9772, 266.8450],\n",
      "        [506.4189, 221.1456, 538.4449, 254.6866]], device='cuda:0')\n",
      "Ground-truth box:  [499. 213. 632. 258.]\n",
      "0.827350097643644\n",
      "For brand:  ASB Bank Limited+2020-05-23-15`41`34\n",
      "Predicted box:  tensor([[ 901.5556,   34.8615, 1023.1895,   81.4134]], device='cuda:0')\n",
      "Ground-truth box:  [ 905.   41. 1020.   77.]\n",
      "0.7311531262356551\n",
      "For brand:  PayPal Inc.+2020-05-08-00`31`59\n",
      "Predicted box:  tensor([[210.2861,  17.3831, 346.0366,  57.0622]], device='cuda:0')\n",
      "Ground-truth box:  [205.  14. 343.  62.]\n",
      "0.7807821314781691\n",
      "For brand:  Adobe Inc.+2020-05-29-14`37`56\n",
      "Predicted box:  tensor([[  0.6532,   0.0000, 250.8443,  51.0870],\n",
      "        [  1.1416,   0.0000,  81.1855,  58.4212]], device='cuda:0')\n",
      "Ground-truth box:  [ 7.  2. 75. 50.]\n",
      "0.6979935835428209\n",
      "For brand:  AutoScout24+2020-05-02-15`45`17\n",
      "Predicted box:  tensor([[144.9473,   9.4205, 301.9430,  55.8168],\n",
      "        [147.4211,  11.4141, 222.9708,  55.1643]], device='cuda:0')\n",
      "Ground-truth box:  [136.   8. 300.  56.]\n",
      "0.9035097512337822\n",
      "For brand:  SF Express Co.+2020-05-27-14`44`57\n",
      "Predicted box:  tensor([[2.8904e+02, 2.2912e+00, 4.9943e+02, 5.4761e+01],\n",
      "        [5.6255e+02, 1.3164e+01, 9.8538e+02, 4.3820e+01],\n",
      "        [2.9606e+02, 3.8238e+00, 3.4816e+02, 5.3454e+01],\n",
      "        [2.9314e+02, 1.8084e+00, 3.9448e+02, 5.2144e+01],\n",
      "        [8.6858e+02, 6.1218e+01, 1.2532e+03, 2.5608e+02],\n",
      "        [3.7908e+02, 1.1441e+00, 9.8430e+02, 5.0705e+01]], device='cuda:0')\n",
      "Ground-truth box:  [296.   1. 351.  57.]\n",
      "0.8396052888991372\n",
      "For brand:  Steam+2020-05-27-11`26`34\n",
      "Predicted box:  tensor([[481.7389,  20.3551, 640.5421,  76.4594]], device='cuda:0')\n",
      "Ground-truth box:  [481.  24. 645.  79.]\n",
      "0.8678901349256999\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "For brand:  ING+2020-05-27-17`09`28\n",
      "Predicted box:  tensor([[388.2974,  18.5422, 526.6058,  90.1428],\n",
      "        [390.4941,  28.5439, 514.7983,  67.7504]], device='cuda:0')\n",
      "Ground-truth box:  [386.  14. 535.  91.]\n",
      "0.8631535790731493\n",
      "For brand:  Global Sources (HK)+2020-05-14-16`07`55\n",
      "Predicted box:  tensor([[277.6941,  19.1258, 553.5167,  71.3865],\n",
      "        [286.8027,  20.7714, 384.6713,  67.5365]], device='cuda:0')\n",
      "Ground-truth box:  [282.  17. 561.  78.]\n",
      "0.8228734610716147\n",
      "For brand:  Yahoo! Inc+2020-05-22-14`37`39\n",
      "Predicted box:  tensor([[   8.7399,    4.5627,  142.7037,   49.1334],\n",
      "        [1227.4316,   91.1486, 1360.6075,  138.7271],\n",
      "        [ 423.6578,   90.4654,  800.8954,  397.4789],\n",
      "        [ 422.9616,   89.3913,  780.5287,  198.1922],\n",
      "        [ 478.6154,  116.0536,  736.7797,  176.0085],\n",
      "        [1871.0548,   17.9815, 1907.4285,   42.4396]], device='cuda:0')\n",
      "Ground-truth box:  [1230.   98. 1359.  138.]\n",
      "0.8143528317705594\n",
      "For brand:  Google Inc.+2020-05-27-10`15`38\n",
      "Predicted box:  tensor([[ 918.5532,  101.6380,  997.3751,  132.9663],\n",
      "        [ 897.6555,   93.9612, 1020.3049,  137.0211]], device='cuda:0')\n",
      "Ground-truth box:  [ 910.   92. 1011.  135.]\n",
      "0.7564608470338169\n",
      "For brand:  DHL Airways, Inc.+2020-05-13-15`04`05\n",
      "Predicted box:  tensor([[229.8416,  17.8077, 703.1127, 142.9027],\n",
      "        [609.8720,  77.2291, 739.4425, 126.6136]], device='cuda:0')\n",
      "Ground-truth box:  [246.  23. 609. 138.]\n",
      "0.7051059664859657\n",
      "For brand:  WhatsApp+2020-05-02-16`12`20\n",
      "Predicted box:  tensor([[616.1250,  14.3201, 747.3364,  55.0180],\n",
      "        [646.4386,  80.8509, 719.0821, 150.2017],\n",
      "        [620.1480,  45.5233, 742.8038, 148.8314]], device='cuda:0')\n",
      "Ground-truth box:  [655.  87. 713. 141.]\n",
      "0.6216887635950041\n",
      "For brand:  eBay Inc.+2020-05-02-15`06`00\n",
      "Predicted box:  tensor([[  9.6820,  20.9172, 105.5970,  63.7740],\n",
      "        [634.3904, 111.8983, 732.7969, 152.5119],\n",
      "        [636.7969, 789.5509, 722.8219, 831.0992]], device='cuda:0')\n",
      "Ground-truth box:  [  8.  26. 102.  63.]\n",
      "0.8185699624375536\n",
      "For brand:  LinkedIn Corporation+2020-05-14-22`40`29\n",
      "Predicted box:  tensor([[603.4380,  19.5009, 755.9749,  63.3130]], device='cuda:0')\n",
      "Ground-truth box:  [602.  17. 761.  63.]\n",
      "0.901310476750134\n",
      "For brand:  Office365+2020-05-02-15`45`53\n",
      "Predicted box:  tensor([[500.9710, 240.0196, 622.1017, 273.0693],\n",
      "        [502.5193, 240.3127, 533.0988, 272.4647]], device='cuda:0')\n",
      "Ground-truth box:  [502. 232. 627. 278.]\n",
      "0.6862579484129757\n",
      "For brand:  Grupo Santander+2020-05-09-15`26`10\n",
      "Predicted box:  tensor([[311.7301,  18.6606, 548.7037,  79.9072]], device='cuda:0')\n",
      "Ground-truth box:  [307.  21. 546.  79.]\n",
      "0.9188177482888781\n",
      "For brand:  PayPal Inc.+2020-05-30-12`46`48\n",
      "Predicted box:  tensor([[ 885.9152,  124.2278, 1033.5607,  172.2351]], device='cuda:0')\n",
      "Ground-truth box:  [ 881.  124. 1036.  172.]\n",
      "0.943628730199187\n",
      "For brand:  Desjardins+2020-05-27-10`20`11\n",
      "Predicted box:  tensor([[482.8534,  24.6596, 652.8463,  70.2947],\n",
      "        [679.0242,  25.0695, 788.1163,  67.7616],\n",
      "        [809.7731,  26.6049, 905.7081,  69.4133],\n",
      "        [474.9297,  18.2972, 918.1697,  74.1276],\n",
      "        [680.3638,  25.4829, 901.1658,  71.7068]], device='cuda:0')\n",
      "Ground-truth box:  [480.  26. 646.  68.]\n",
      "0.8698424444013404\n",
      "For brand:  Wells Fargo & Company+2020-05-04-11`54`29\n",
      "Predicted box:  tensor([[196.6277,   1.8892, 263.2190,  64.4701]], device='cuda:0')\n",
      "Ground-truth box:  [198.   5. 263.  65.]\n",
      "0.9199795103252145\n",
      "For brand:  U.S. Bank+2020-05-10-23`06`04\n",
      "Predicted box:  tensor([[200.2695,  23.7411, 417.8550,  88.7141],\n",
      "        [199.6765,  29.6953, 293.3055,  88.4406]], device='cuda:0')\n",
      "Ground-truth box:  [205.  28. 413.  85.]\n",
      "0.8386398638654445\n",
      "For brand:  Key Bank+2020-05-23-14`26`49\n",
      "Predicted box:  tensor([[   2.8273,    3.8915,  164.3777,   44.9173],\n",
      "        [ 836.7425,  123.5487, 1078.9658,  166.4564]], device='cuda:0')\n",
      "Ground-truth box:  [  3.   2. 166.  53.]\n",
      "0.7957428098920278\n",
      "For brand:  eBay Inc.+2020-05-06-14`59`47\n",
      "Predicted box:  tensor([[ 27.4127,   7.5706, 116.9453,  48.4263],\n",
      "        [478.5978,  93.0620, 575.0632, 130.6349]], device='cuda:0')\n",
      "Ground-truth box:  [ 24.  11. 118.  50.]\n",
      "0.8434024834934478\n",
      "For brand:  Visa International Service Association+2020-05-01-11`23`37\n",
      "Predicted box:  tensor([[ 795.2011,  130.0394, 1074.8588,  272.1592],\n",
      "        [ 120.6001,   24.8849,  348.3948,   51.5536],\n",
      "        [ 292.7250,  152.6880,  688.6210,  203.9028],\n",
      "        [ 271.5947,  133.3646,  722.0994,  259.7104]], device='cuda:0')\n",
      "Ground-truth box:  [ 858.  201. 1039.  269.]\n",
      "0.3096749641028253\n",
      "For brand:  PayPal Inc.+2020-05-26-12`16`47\n",
      "Predicted box:  tensor([[ 894.6682,  154.6733, 1024.4382,  197.3212]], device='cuda:0')\n",
      "Ground-truth box:  [ 888.  149. 1033.  196.]\n",
      "0.7676238262637765\n",
      "For brand:  Banco del Estado de Chile+2020-05-12-13`55`28\n",
      "Predicted box:  tensor([[ 274.3691,   15.7080,  491.0805,   70.4088],\n",
      "        [ 958.8857,   26.3960, 1161.3151,   65.3433],\n",
      "        [ 284.5855,   20.5382,  329.0309,   65.7517],\n",
      "        [ 609.4619,  111.7559,  822.3831,  274.7360],\n",
      "        [ 342.8050,  597.5379,  422.4270,  642.2819]], device='cuda:0')\n",
      "Ground-truth box:  [275.  13. 489.  68.]\n",
      "0.9000065038834777\n",
      "For brand:  Comcast Corporation+2020-05-15-07`02`05\n",
      "Predicted box:  tensor([[ 918.7504,   45.4340, 1035.7345,   92.3151]], device='cuda:0')\n",
      "Ground-truth box:  [ 916.   43. 1039.   83.]\n",
      "0.7312525252069996\n",
      "For brand:  WeTransfer+2020-05-09-11`05`38\n",
      "Predicted box:  tensor([[ 160.1690,  198.0581,  278.6528,  305.6176],\n",
      "        [  11.9647,   11.5849,   68.4129,   46.0890],\n",
      "        [ 752.5179,   14.7728, 1361.5709,  572.6268],\n",
      "        [ 120.4523,  194.7179,  319.9546,  347.7365]], device='cuda:0')\n",
      "Ground-truth box:  [11. 11. 72. 48.]\n",
      "0.8629561520807275\n",
      "For brand:  Chronopost International+2020-05-01-17`30`02\n",
      "Predicted box:  tensor([[103.7800,  27.9653, 453.1246, 115.4089],\n",
      "        [115.6642,  36.3374, 192.9024, 117.8219]], device='cuda:0')\n",
      "Ground-truth box:  [114.  32. 453. 107.]\n",
      "0.8322979902332497\n",
      "For brand:  Alibaba+2020-05-08-03`30`04\n",
      "Predicted box:  tensor([[221.3653,  27.9664, 436.5023,  81.3667]], device='cuda:0')\n",
      "Ground-truth box:  [228.  31. 439.  81.]\n",
      "0.8976905351980357\n",
      "For brand:  Americanas.com S,A Comercio Electrnico+2020-05-24-12`55`54\n",
      "Predicted box:  tensor([[305.5223,  16.7591, 544.5635,  67.1630]], device='cuda:0')\n",
      "Ground-truth box:  [314.  22. 541.  62.]\n",
      "0.7536143073086132\n",
      "For brand:  eBay Inc.+2020-05-09-13`29`13\n",
      "Predicted box:  tensor([[  9.6820,  20.9172, 105.5970,  63.7740],\n",
      "        [634.3904, 111.8983, 732.7969, 152.5119],\n",
      "        [636.7969, 789.5509, 722.8219, 831.0992]], device='cuda:0')\n",
      "Ground-truth box:  [  7.  22. 103.  63.]\n",
      "0.9065208988478316\n",
      "For brand:  Amazon.com Inc.+2020-05-01-13`09`49\n",
      "Predicted box:  tensor([[625.4804,   4.5762, 743.1158,  47.7045]], device='cuda:0')\n",
      "Ground-truth box:  [623.   6. 740.  40.]\n",
      "0.7549155125930396\n",
      "For brand:  Chase Personal Banking+2020-05-30-11`23`10\n",
      "Predicted box:  tensor([[ 828.4977,   43.4450, 1093.4221,  100.6715]], device='cuda:0')\n",
      "Ground-truth box:  [ 828.   38. 1092.  109.]\n",
      "0.801008766679548\n",
      "For brand:  DGI (French Tax Authority)+2020-05-14-18`04`10\n",
      "Predicted box:  tensor([[ 108.0337,   37.6887,  196.7834,   96.4508],\n",
      "        [  98.3487,   26.4744,  500.0681,  100.9762],\n",
      "        [1010.1821,   15.5439, 1229.1997,   58.6593],\n",
      "        [1004.3770,   66.6271, 1238.4110,  113.1412],\n",
      "        [ 220.7881,   35.8283,  500.8782,   75.7168]], device='cuda:0')\n",
      "Ground-truth box:  [113.  38. 198.  98.]\n",
      "0.9038925251610337\n",
      "For brand:  Alibaba+2020-05-25-14`27`08\n",
      "Predicted box:  tensor([[340.0141,  31.0622, 541.0433,  74.2228]], device='cuda:0')\n",
      "Ground-truth box:  [342.  32. 542.  75.]\n",
      "0.9472304474560344\n",
      "For brand:  Grupo Santander+2020-05-24-23`55`08\n",
      "Predicted box:  tensor([[310.1193,  16.1095, 543.1999,  76.3097]], device='cuda:0')\n",
      "Ground-truth box:  [323.  22. 547.  84.]\n",
      "0.7492856981299888\n",
      "For brand:  RuneScape+2020-05-02-07`04`49\n",
      "Predicted box:  tensor([[ 526.5236,  150.9912,  684.6755,  222.1983],\n",
      "        [ 523.1537,  148.5268,  828.6520,  228.0952],\n",
      "        [  82.4529,    1.9114,  128.8993,   36.2391],\n",
      "        [ 905.5599,   71.4439, 1105.5837,  188.1373],\n",
      "        [ 690.2850,  166.6327,  832.3251,  216.6539],\n",
      "        [  87.5091,    4.7162,  117.7525,   30.1740],\n",
      "        [ 523.7360,  150.0501,  669.7430,  190.0269]], device='cuda:0')\n",
      "Ground-truth box:  [690. 167. 830. 221.]\n",
      "0.8977399130848147\n",
      "For brand:  Credit Agricole S.A.+2020-05-02-18`20`23\n",
      "Predicted box:  tensor([[377.3462,  17.4536, 679.5646, 100.1800],\n",
      "        [379.8929,  18.4245, 479.6602,  89.5194],\n",
      "        [385.4956, 359.1158, 498.1329, 388.0006]], device='cuda:0')\n",
      "Ground-truth box:  [384.  18. 477.  89.]\n",
      "0.9202367525327126\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "For brand:  Banco do Brasil S.A.+2020-05-02-17`55`16\n",
      "Predicted box:  tensor([[621.1577, 323.1519, 742.2679, 441.3421]], device='cuda:0')\n",
      "Ground-truth box:  [635. 340. 734. 427.]\n",
      "0.601716749430784\n",
      "For brand:  Itau Unibanco S.A+2020-05-11-17`11`35\n",
      "Predicted box:  tensor([[6.0163e+02, 6.4372e-01, 7.6662e+02, 5.0650e+01],\n",
      "        [1.9275e+02, 7.0352e+01, 3.0025e+02, 1.2360e+02],\n",
      "        [1.0683e+03, 6.8263e+01, 1.1589e+03, 1.2536e+02],\n",
      "        [6.4449e+02, 6.8318e+01, 7.1862e+02, 1.2349e+02]], device='cuda:0')\n",
      "Ground-truth box:  [594.   7. 772.  51.]\n",
      "0.8109610749109593\n",
      "For brand:  Discover+2020-05-26-10`41`35\n",
      "Predicted box:  tensor([[193.6906,  13.0025, 324.0107,  50.3139],\n",
      "        [828.6091,  10.5932, 975.3800,  58.7467],\n",
      "        [188.8018,  12.3960, 465.0895,  51.0312],\n",
      "        [195.5023, 267.1413, 587.6494, 349.9803]], device='cuda:0')\n",
      "Ground-truth box:  [193.   9. 321.  50.]\n",
      "0.8721995433462214\n",
      "For brand:  Facebook, Inc.+2020-05-30-09`35`58\n",
      "Predicted box:  tensor([[460.1204,  22.3902, 647.9988,  76.7741]], device='cuda:0')\n",
      "Ground-truth box:  [454.  24. 656.  79.]\n",
      "0.8687976938749605\n",
      "For brand:  AOL Inc.+2020-05-16-11`31`15\n",
      "Predicted box:  tensor([[ 37.7597,  16.3060, 129.9186,  61.6528],\n",
      "        [877.1461,  92.6757, 965.8526, 138.7515],\n",
      "        [555.2564, 238.3948, 722.6171, 266.2807],\n",
      "        [554.9781, 240.0310, 594.6207, 262.9463]], device='cuda:0')\n",
      "Ground-truth box:  [ 40.  20. 125.  61.]\n",
      "0.8339090530230083\n",
      "For brand:  Absa Group+2020-05-18-16`41`01\n",
      "Predicted box:  tensor([[  6.7644,   7.4721,  58.0609,  55.3018],\n",
      "        [  0.0000,   4.4888,  98.7959,  59.3325],\n",
      "        [  1.0872,   2.5923, 197.6728,  60.8582],\n",
      "        [156.4924,  22.0423, 209.8617,  44.3450]], device='cuda:0')\n",
      "Ground-truth box:  [ 6.  8. 55. 57.]\n",
      "0.8868046885438371\n",
      "For brand:  Daum+2020-05-30-11`50`03\n",
      "Predicted box:  tensor([[ 903.7900,   16.6775, 1018.7609,   73.1441]], device='cuda:0')\n",
      "Ground-truth box:  [ 899.   20. 1023.   70.]\n",
      "0.8279064531221203\n",
      "For brand:  Made-In-China+2020-05-23-16`32`49\n",
      "Predicted box:  tensor([[483.4466,  50.5161, 699.6340, 101.1007]], device='cuda:0')\n",
      "Ground-truth box:  [482.  51. 709. 104.]\n",
      "0.892509089127882\n",
      "For brand:  Cox Communications+2020-05-19-02`20`54\n",
      "Predicted box:  tensor([[302.1958,  46.5996, 373.2365,  77.1287]], device='cuda:0')\n",
      "Ground-truth box:  [303.  41. 369.  79.]\n",
      "0.7569516312431627\n",
      "For brand:  Banco do Brasil S.A.+2020-05-23-19`38`38\n",
      "Predicted box:  tensor([[ 905.3953,   77.4798,  996.7407,  163.7912],\n",
      "        [ 886.3596,   58.4589, 1014.3597,  204.8364],\n",
      "        [ 738.6057,   10.9104,  814.0790,   39.0376]], device='cuda:0')\n",
      "Ground-truth box:  [914.  85. 987. 158.]\n",
      "0.6759125294150372\n",
      "For brand:  Alibaba+2020-05-14-23`30`57\n",
      "Predicted box:  tensor([[ 82.6370,  32.6044, 277.6278,  72.5095]], device='cuda:0')\n",
      "Ground-truth box:  [ 83.  34. 280.  76.]\n",
      "0.8755744183873883\n",
      "For brand:  Scotiabank+2020-05-12-14`18`07\n",
      "Predicted box:  tensor([[499.6533,  16.4179, 870.3098,  86.0917],\n",
      "        [502.0328,  18.4544, 569.1246,  88.8711]], device='cuda:0')\n",
      "Ground-truth box:  [509.  12. 869.  85.]\n",
      "0.9005694628041316\n",
      "For brand:  Google Inc.+2020-05-23-15`15`36\n",
      "Predicted box:  tensor([[  24.6192,    6.9731,  233.3268,   60.8921],\n",
      "        [1173.0326,  164.3343, 1621.4274,  250.0300]], device='cuda:0')\n",
      "Ground-truth box:  [ 27.   5. 154.  56.]\n",
      "0.541244270162565\n",
      "For brand:  Orange+2020-05-23-20`18`31\n",
      "Predicted box:  tensor([[ 364.1247,  104.0995,  600.8441,  149.1596],\n",
      "        [ 363.8751,   13.8940,  415.1143,   63.8667],\n",
      "        [1268.3329,  124.3460, 1538.3773,  189.4424]], device='cuda:0')\n",
      "Ground-truth box:  [367.  17. 412.  65.]\n",
      "0.8075649886546644\n",
      "For brand:  Americanas.com S,A Comercio Electrnico+2020-05-27-17`22`23\n",
      "Predicted box:  tensor([[304.4848,  64.2545, 546.8259, 117.3618]], device='cuda:0')\n",
      "Ground-truth box:  [315.  69. 540. 112.]\n",
      "0.75174448641812\n",
      "For brand:  RuneScape+2020-05-16-22`22`14\n",
      "Predicted box:  tensor([[176.8322,  29.4395, 327.9208,  90.7729],\n",
      "        [160.8229, 114.7689, 605.5054, 219.3769]], device='cuda:0')\n",
      "Ground-truth box:  [166.  34. 334.  96.]\n",
      "0.7724182337415554\n",
      "For brand:  Yahoo! Inc+2020-05-21-20`22`00\n",
      "Predicted box:  tensor([[   8.7399,    4.5627,  142.7037,   49.1334],\n",
      "        [1227.9355,   91.8147, 1360.7223,  138.3626],\n",
      "        [ 423.6578,   90.4654,  800.8954,  397.4789],\n",
      "        [ 422.9616,   89.3913,  780.5287,  198.1922],\n",
      "        [ 478.6154,  116.0536,  736.7797,  176.0085],\n",
      "        [1871.0548,   17.9815, 1907.4285,   42.4396]], device='cuda:0')\n",
      "Ground-truth box:  [ 11.   6. 139.  48.]\n",
      "0.900373271506365\n",
      "For brand:  Lloyds TSB Group+2020-05-29-13`33`44\n",
      "Predicted box:  tensor([[ 924.3199,    2.9694,  977.4374,   47.6632],\n",
      "        [ 782.8500,   72.3359, 1100.8932,  111.1749]], device='cuda:0')\n",
      "Ground-truth box:  [924.   3. 977.  46.]\n",
      "0.9486840881967092\n",
      "For brand:  DHL Airways, Inc.+2020-05-12-12`01`19\n",
      "Predicted box:  tensor([[535.8367, 109.8322, 828.9632, 171.8538]], device='cuda:0')\n",
      "Ground-truth box:  [541. 101. 839. 175.]\n",
      "0.7983080554412645\n",
      "For brand:  IRS+2020-05-21-09`46`48\n",
      "Predicted box:  tensor([[ 111.4888,   27.8506,  264.3532,   91.5076],\n",
      "        [ 120.9218,  560.6708,  258.8705,  617.5748],\n",
      "        [ 860.2041,   70.7909, 1052.3198,   95.8782]], device='cuda:0')\n",
      "Ground-truth box:  [111.  25. 260.  90.]\n",
      "0.9061331407946484\n",
      "For brand:  IRS+2020-05-02-14`34`56\n",
      "Predicted box:  tensor([[111.4868,  27.8497, 264.3519,  91.5081],\n",
      "        [120.9144, 560.6679, 258.8698, 617.5797]], device='cuda:0')\n",
      "Ground-truth box:  [106.  29. 262.  89.]\n",
      "0.8976612274256098\n",
      "For brand:  Amazon.com Inc.+2020-05-18-10`10`48\n",
      "Predicted box:  tensor([[625.6058,  19.4237, 742.9965,  61.7960]], device='cuda:0')\n",
      "Ground-truth box:  [619.  18. 745.  57.]\n",
      "0.8053854192383759\n",
      "For brand:  Dropbox, Inc.+2020-05-22-12`10`17\n",
      "Predicted box:  tensor([[ 689.7474,   32.0854, 1256.6276,  100.0038],\n",
      "        [ 817.0890,  200.6652, 1085.2715,  241.7001],\n",
      "        [ 759.7360,   33.9291, 1144.7548,   83.3155]], device='cuda:0')\n",
      "Ground-truth box:  [817. 193. 863. 246.]\n",
      "0.1629874067278942\n",
      "For brand:  Deutsche Telekom+2020-05-16-00`10`30\n",
      "Predicted box:  tensor([[ 172.7636,   18.0732,  251.3410,   63.3302],\n",
      "        [ 623.3117,   85.3039,  746.5219,  110.2271],\n",
      "        [1009.6815,   24.8710, 1192.1885,   58.0733],\n",
      "        [ 474.6700,  168.7780,  901.8619,  215.3997]], device='cuda:0')\n",
      "Ground-truth box:  [174.  18. 257.  77.]\n",
      "0.7066941490811016\n",
      "For brand:  PayPal Inc.+2020-05-29-13`53`22\n",
      "Predicted box:  tensor([[ 885.9152,  124.2278, 1033.5607,  172.2351]], device='cuda:0')\n",
      "Ground-truth box:  [ 880.  125. 1044.  170.]\n",
      "0.8491852042182941\n",
      "For brand:  PostFinance+2020-05-13-12`07`55\n",
      "Predicted box:  tensor([[497.6874,  14.1346, 670.4437,  73.5612]], device='cuda:0')\n",
      "Ground-truth box:  [505.  20. 665.  69.]\n",
      "0.7636618350747897\n",
      "For brand:  RBC Royal Bank+2020-05-24-05`09`39\n",
      "Predicted box:  tensor([[348.5262,   5.9300, 403.8762,  64.8778],\n",
      "        [343.9033,   3.0461, 528.6403,  71.3408]], device='cuda:0')\n",
      "Ground-truth box:  [352.   7. 533.  64.]\n",
      "0.7826233473757445\n",
      "For brand:  Steam+2020-05-29-16`03`56\n",
      "Predicted box:  tensor([[ 481.2927,   19.9743,  640.5396,   77.0163],\n",
      "        [1291.9486,  153.6760, 1419.3903,  214.0447]], device='cuda:0')\n",
      "Ground-truth box:  [484.  26. 643.  81.]\n",
      "0.8113699852775113\n",
      "For brand:  PayPal Inc.+2020-05-27-13`18`16\n",
      "Predicted box:  tensor([[ 885.9152,  124.2278, 1033.5607,  172.2351]], device='cuda:0')\n",
      "Ground-truth box:  [ 888.  128. 1031.  167.]\n",
      "0.7868145050163715\n",
      "For brand:  Dropbox, Inc.+2020-05-29-14`20`25\n",
      "Predicted box:  tensor([[ 855.2015,    6.1063, 1043.2012,   60.0619],\n",
      "        [ 630.1992,  257.8801, 1199.4122,  654.2495]], device='cuda:0')\n",
      "Ground-truth box:  [ 847.    5. 1047.   61.]\n",
      "0.9056829062439818\n",
      "For brand:  Daum+2020-05-24-07`15`02\n",
      "Predicted box:  tensor([[ 892.9579,   16.7843, 1009.2885,   74.2332]], device='cuda:0')\n",
      "Ground-truth box:  [ 893.   19. 1016.   65.]\n",
      "0.7650782321929954\n",
      "For brand:  Adobe Inc.+2020-05-06-15`28`51\n",
      "Predicted box:  tensor([[ 143.8411,   37.2064,  475.8232,  114.2619],\n",
      "        [ 147.7428,   45.5826,  207.5564,  107.2761],\n",
      "        [ 151.2000,   45.4348,  376.6223,   99.1096],\n",
      "        [ 929.0775,   46.4299, 1233.0228,   92.5348]], device='cuda:0')\n",
      "Ground-truth box:  [155.  53. 204.  99.]\n",
      "0.6108219610063251\n",
      "For brand:  DGI (French Tax Authority)+2020-05-02-18`01`33\n",
      "Predicted box:  tensor([[ 108.0462,   37.6931,  196.7482,   96.4186],\n",
      "        [  98.4042,   26.4834,  500.0034,  100.9446],\n",
      "        [1010.1689,   15.5440, 1229.2024,   58.6634],\n",
      "        [1004.3832,   66.6366, 1238.0933,  113.1287],\n",
      "        [ 220.7545,   35.8277,  500.8950,   75.7120]], device='cuda:0')\n",
      "Ground-truth box:  [111.  39. 197.  94.]\n",
      "0.902972737004697\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "For brand:  ING+2020-05-06-15`40`39\n",
      "Predicted box:  tensor([[1026.8337,  277.6533, 1162.1809,  319.4864],\n",
      "        [ 989.5479,  267.6608, 1169.5695,  332.1252]], device='cuda:0')\n",
      "Ground-truth box:  [1026.  271. 1162.  326.]\n",
      "0.7551760045669644\n",
      "For brand:  Yahoo! Inc+2020-05-11-17`21`24\n",
      "Predicted box:  tensor([[  38.0933,    5.3803,  184.7605,   54.7930],\n",
      "        [ 233.4893,  171.0375,  353.8244,  220.5961],\n",
      "        [1075.8820,  122.2714, 1206.4335,  162.7779],\n",
      "        [ 990.6059,  116.3752, 1216.9352,  167.9111],\n",
      "        [1040.2815,    1.8741, 1119.0719,   29.7556]], device='cuda:0')\n",
      "Ground-truth box:  [ 45.   7. 177.  49.]\n",
      "0.7649832720905703\n",
      "For brand:  Desjardins+2020-05-02-15`24`10\n",
      "Predicted box:  tensor([[205.2691,   8.5615, 374.8323,  52.4338]], device='cuda:0')\n",
      "Ground-truth box:  [194.  10. 386.  52.]\n",
      "0.8496890099445605\n",
      "For brand:  Apple Inc.+2020-05-18-14`03`04\n",
      "Predicted box:  tensor([[187.4135,  19.4484, 384.9680,  54.0085],\n",
      "        [258.8687, 156.8141, 482.0574, 271.6023]], device='cuda:0')\n",
      "Ground-truth box:  [190.  31. 212.  49.]\n",
      "0.058000686619240974\n",
      "For brand:  Cox Communications+2020-05-09-13`00`28\n",
      "Predicted box:  tensor([[302.1958,  46.5996, 373.2365,  77.1287]], device='cuda:0')\n",
      "Ground-truth box:  [303.  43. 372.  81.]\n",
      "0.7847510273580934\n",
      "For brand:  Alibaba+2020-05-01-11`30`17\n",
      "Predicted box:  tensor([[229.8585,  27.2524, 451.9444,  83.2609],\n",
      "        [ 69.1105, 218.8869, 195.8703, 267.3091]], device='cuda:0')\n",
      "Ground-truth box:  [236.  28. 448.  82.]\n",
      "0.9203538314886672\n",
      "For brand:  Wells Fargo & Company+2020-05-09-11`13`32\n",
      "Predicted box:  tensor([[196.6277,   1.8892, 263.2190,  64.4701]], device='cuda:0')\n",
      "Ground-truth box:  [198.   4. 261.  66.]\n",
      "0.8934947217488997\n",
      "For brand:  Stripe+2020-05-04-11`36`05\n",
      "Predicted box:  tensor([[623.5202,  89.0245, 745.1818, 137.3985]], device='cuda:0')\n",
      "Ground-truth box:  [621.  88. 745. 135.]\n",
      "0.9113821038958871\n",
      "For brand:  AT&T Inc.+2020-05-25-04`33`48\n",
      "Predicted box:  tensor([[ 394.0229,    3.0959,  473.7087,   65.6376],\n",
      "        [ 380.1948,    1.6229,  535.4017,   71.0372],\n",
      "        [ 672.1475,  145.4517, 1216.1903,  320.6355],\n",
      "        [ 727.1935,  151.1441, 1144.0399,  225.0418]], device='cuda:0')\n",
      "Ground-truth box:  [402.   3. 468.  61.]\n",
      "0.7658641907129797\n",
      "For brand:  Webmail Providers+2020-05-13-14`19`26\n",
      "Predicted box:  tensor([[  3.9669,   2.1143, 139.6830,  36.5752],\n",
      "        [  7.4565,  43.6917, 192.6236,  89.4207],\n",
      "        [  0.0000,   0.0000, 198.2742,  93.8919]], device='cuda:0')\n",
      "Ground-truth box:  [  4.   4. 138.  36.]\n",
      "0.9168464549187402\n",
      "For brand:  SunTrust Bank+2020-05-23-17`02`54\n",
      "Predicted box:  tensor([[565.7360, 175.0608, 826.1438, 246.6263],\n",
      "        [568.2703, 174.2941, 646.2781, 238.6610]], device='cuda:0')\n",
      "Ground-truth box:  [571. 174. 832. 239.]\n",
      "0.8458158267431043\n",
      "For brand:  Google Inc.+2020-05-27-10`45`03\n",
      "Predicted box:  tensor([[ 918.5532,  101.6380,  997.3751,  132.9663],\n",
      "        [ 897.6555,   93.9612, 1020.3049,  137.0211]], device='cuda:0')\n",
      "Ground-truth box:  [ 910.   97. 1006.  138.]\n",
      "0.7147638629569547\n",
      "For brand:  Yahoo! Inc+2020-05-02-16`24`25\n",
      "Predicted box:  tensor([[ 900.9891,   93.2233, 1142.8416,  150.7431],\n",
      "        [   8.2332,    7.0695,  247.6160,   60.5095],\n",
      "        [  10.7787,    6.6514,  130.5080,   58.7400],\n",
      "        [ 897.8934,   94.3653, 1018.9977,  149.6451],\n",
      "        [  11.7938,    8.5663,   61.6346,   59.3530],\n",
      "        [ 899.7592,   96.3525,  949.2282,  148.5830]], device='cuda:0')\n",
      "Ground-truth box:  [133.  15. 247.  55.]\n",
      "0.35645589629674945\n",
      "For brand:  WeTransfer+2020-05-23-19`17`49\n",
      "Predicted box:  tensor([[ 95.6589, 188.2696, 282.8484, 234.0420],\n",
      "        [ 10.6481,  11.4213,  67.7844,  42.4704],\n",
      "        [  1.6009,   4.2190,  75.0162,  54.9401],\n",
      "        [ 96.4070, 189.6865, 138.9544, 233.4508]], device='cuda:0')\n",
      "Ground-truth box:  [13.  9. 69. 47.]\n",
      "0.7728268447012857\n",
      "For brand:  Absa Group+2020-05-21-12`27`01\n",
      "Predicted box:  tensor([[  6.7644,   7.4721,  58.0609,  55.3018],\n",
      "        [  0.0000,   4.4888,  98.7959,  59.3325],\n",
      "        [  1.0872,   2.5923, 197.6728,  60.8582],\n",
      "        [156.4924,  22.0423, 209.8617,  44.3450]], device='cuda:0')\n",
      "Ground-truth box:  [ 6.  7. 54. 56.]\n",
      "0.8872983527082149\n",
      "For brand:  Alaska USA Federal Credit Union+2020-05-22-12`28`11\n",
      "Predicted box:  tensor([[461.9353,  15.7193, 679.2521,  95.9680]], device='cuda:0')\n",
      "Ground-truth box:  [468.  18. 678.  95.]\n",
      "0.9272110887652976\n",
      "For brand:  Banco do Brasil S.A.+2020-05-21-11`57`35\n",
      "Predicted box:  tensor([[ 217.8728,   20.5593,  348.5945,  115.9257],\n",
      "        [ 466.0807,   37.9669,  780.3893,   91.7782],\n",
      "        [ 234.9566,  876.6538,  492.5772, 1070.6641],\n",
      "        [ 261.2936,   20.2541,  777.9464,  111.2693]], device='cuda:0')\n",
      "Ground-truth box:  [223.  21. 345. 111.]\n",
      "0.880763749006786\n",
      "For brand:  AT&T Inc.+2020-05-19-10`05`51\n",
      "Predicted box:  tensor([[235.4755,  47.5895, 287.6911,  96.8199]], device='cuda:0')\n",
      "Ground-truth box:  [236.  49. 287.  95.]\n",
      "0.9126284040558141\n",
      "For brand:  RuneScape+2020-05-21-09`47`13\n",
      "Predicted box:  tensor([[172.3917,  27.6816, 331.6699,  87.3305],\n",
      "        [166.4541, 117.3649, 613.8563, 217.6760]], device='cuda:0')\n",
      "Ground-truth box:  [165.  34. 336.  88.]\n",
      "0.8294982681351536\n",
      "For brand:  DHL Airways, Inc.+2020-05-05-13`00`02\n",
      "Predicted box:  tensor([[539.6962,  71.7144, 818.7288, 129.9291],\n",
      "        [400.5525,  12.9539, 907.9534, 158.8346],\n",
      "        [414.8294,   8.3559, 659.7073,  38.5417],\n",
      "        [514.8197,  42.0949, 841.7523, 146.0898],\n",
      "        [621.1397,   6.9092, 947.9957,  49.5848]], device='cuda:0')\n",
      "Ground-truth box:  [543.  72. 825. 130.]\n",
      "0.9606439706498293\n",
      "For brand:  NatWest Personal Banking+2020-05-02-18`25`50\n",
      "Predicted box:  tensor([[205.5316,  46.1640, 347.4147,  91.4254],\n",
      "        [195.7152,  33.3458, 404.5904,  96.9098]], device='cuda:0')\n",
      "Ground-truth box:  [205.  46. 349. 102.]\n",
      "0.7963575277064696\n",
      "For brand:  SunTrust Bank+2020-05-16-16`52`29\n",
      "Predicted box:  tensor([[284.2278, 173.5852, 551.7302, 246.6470]], device='cuda:0')\n",
      "Ground-truth box:  [288. 178. 558. 245.]\n",
      "0.8850761791549083\n",
      "For brand:  eBay Inc.+2020-05-10-18`23`20\n",
      "Predicted box:  tensor([[ 10.7082,  20.0110, 116.2105,  70.5089],\n",
      "        [578.5928, 105.1377, 789.6987, 188.8537],\n",
      "        [661.0317, 111.3235, 705.5354, 151.7456]], device='cuda:0')\n",
      "Ground-truth box:  [  8.  21. 120.  74.]\n",
      "0.864736745712783\n",
      "For brand:  SunTrust Bank+2020-05-11-15`26`24\n",
      "Predicted box:  tensor([[284.2278, 173.5852, 551.7302, 246.6470]], device='cuda:0')\n",
      "Ground-truth box:  [288. 172. 559. 250.]\n",
      "0.8998301011549071\n",
      "For brand:  Adobe Inc.+2020-05-10-21`34`54\n",
      "Predicted box:  tensor([[406.8776, 146.0686, 533.2064, 230.5544],\n",
      "        [409.0724, 149.6568, 470.6273, 212.7690],\n",
      "        [925.0677, 148.7021, 960.7485, 201.8993]], device='cuda:0')\n",
      "Ground-truth box:  [420. 601. 504. 685.]\n",
      "0\n",
      "For brand:  eBay Inc.+2020-05-06-13`55`36\n",
      "Predicted box:  tensor([[  9.6820,  20.9172, 105.5970,  63.7740],\n",
      "        [634.3904, 111.8983, 732.7969, 152.5119],\n",
      "        [636.7969, 789.5509, 722.8219, 831.0992]], device='cuda:0')\n",
      "Ground-truth box:  [ 11.  23. 105.  63.]\n",
      "0.9147052488177978\n",
      "For brand:  Bank of America+2020-05-27-10`29`40\n",
      "Predicted box:  tensor([[321.4400,  39.1239, 615.2498,  90.1181],\n",
      "        [868.7972,   4.1160, 969.5464,  28.6513]], device='cuda:0')\n",
      "Ground-truth box:  [307.  36. 613.  84.]\n",
      "0.7888375773713391\n",
      "For brand:  Sparkasse Bank+2020-05-24-19`37`49\n",
      "Predicted box:  tensor([[  3.6955,  43.2184, 148.5684, 113.7730],\n",
      "        [ 11.6934,  41.0234, 324.0316, 119.0359],\n",
      "        [466.7053, 226.9509, 788.1176, 279.1974],\n",
      "        [150.3932,  55.4713, 320.4417, 113.7109]], device='cuda:0')\n",
      "Ground-truth box:  [  3.  44. 148. 116.]\n",
      "0.9505011701929668\n",
      "For brand:  Steam+2020-05-24-21`48`06\n",
      "Predicted box:  tensor([[481.7389,  20.3551, 640.5421,  76.4594]], device='cuda:0')\n",
      "Ground-truth box:  [484.  23. 641.  82.]\n",
      "0.8536040469759263\n",
      "For brand:  Webmail Providers+2020-05-27-16`25`53\n",
      "Predicted box:  tensor([[1434.7960,    0.0000, 1475.8739,   34.3495],\n",
      "        [ 443.9243,    2.5369,  630.9657,   35.5582]], device='cuda:0')\n",
      "Ground-truth box:  [450.   6. 491.  33.]\n",
      "0.17923212427522475\n",
      "For brand:  Alibaba+2020-05-24-23`08`46\n",
      "Predicted box:  tensor([[357.9149,  29.0271, 557.2815,  74.8859],\n",
      "        [204.0070, 257.2099, 373.6144, 445.9944]], device='cuda:0')\n",
      "Ground-truth box:  [357.  31. 553.  72.]\n",
      "0.8712746298334145\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "For brand:  SF Express Co.+2020-05-24-02`51`49\n",
      "Predicted box:  tensor([[2.8904e+02, 2.2912e+00, 4.9943e+02, 5.4761e+01],\n",
      "        [5.6255e+02, 1.3164e+01, 9.8538e+02, 4.3820e+01],\n",
      "        [2.9606e+02, 3.8238e+00, 3.4816e+02, 5.3454e+01],\n",
      "        [2.9314e+02, 1.8084e+00, 3.9448e+02, 5.2144e+01],\n",
      "        [8.6858e+02, 6.1218e+01, 1.2532e+03, 2.5608e+02],\n",
      "        [3.7908e+02, 1.1441e+00, 9.8430e+02, 5.0705e+01]], device='cuda:0')\n",
      "Ground-truth box:  [298.   3. 353.  59.]\n",
      "0.7837966207837096\n",
      "For brand:  Banco do Brasil S.A.+2020-05-02-13`39`25\n",
      "Predicted box:  tensor([[579.8659, 673.6440, 786.0223, 783.0000],\n",
      "        [637.0389, 678.5670, 728.9793, 754.8491]], device='cuda:0')\n",
      "Ground-truth box:  [566. 652. 794. 782.]\n",
      "0.7484475944390417\n",
      "For brand:  Sparkasse Bank+2020-05-30-16`38`49\n",
      "Predicted box:  tensor([[  3.6955,  43.2184, 148.5684, 113.7730],\n",
      "        [ 11.6934,  41.0234, 324.0316, 119.0359],\n",
      "        [466.7053, 226.9509, 788.1176, 279.1974],\n",
      "        [150.3932,  55.4713, 320.4417, 113.7109]], device='cuda:0')\n",
      "Ground-truth box:  [  5.  47. 150. 118.]\n",
      "0.8770841202772455\n",
      "For brand:  American Express+2020-05-16-11`03`16\n",
      "Predicted box:  tensor([[133.1344,   4.8323, 188.3608,  55.0852],\n",
      "        [131.9272,   2.7546, 294.6083,  56.2648],\n",
      "        [185.6537,  13.1312, 290.7704,  49.2482]], device='cuda:0')\n",
      "Ground-truth box:  [136.   6. 186.  54.]\n",
      "0.8647753135588\n",
      "For brand:  NatWest Personal Banking+2020-05-30-13`19`33\n",
      "Predicted box:  tensor([[478.6710,  45.8528, 616.6358,  91.4727],\n",
      "        [471.9649, 109.1033, 503.0788, 141.7927]], device='cuda:0')\n",
      "Ground-truth box:  [473.  46. 615.  97.]\n",
      "0.8449659575624082\n",
      "For brand:  Facebook, Inc.+2020-05-18-10`21`47\n",
      "Predicted box:  tensor([[  29.9505,    9.4943,  355.1351,   88.1704],\n",
      "        [  36.8177,   15.1884,  109.6638,   85.2807],\n",
      "        [ 100.0010,   29.5138,  351.2297,   70.2120],\n",
      "        [1227.3596,  764.1517, 1341.1626,  799.1394]], device='cuda:0')\n",
      "Ground-truth box:  [41. 17. 99. 80.]\n",
      "0.7156354458576734\n",
      "For brand:  Google Inc.+2020-05-29-13`54`07\n",
      "Predicted box:  tensor([[ 918.5532,  101.6380,  997.3751,  132.9663],\n",
      "        [ 897.6555,   93.9612, 1020.3049,  137.0211]], device='cuda:0')\n",
      "Ground-truth box:  [ 912.  101. 1004.  135.]\n",
      "0.7894366940471591\n",
      "For brand:  Google Inc.+2020-05-29-13`10`20\n",
      "Predicted box:  tensor([[ 918.5532,  101.6380,  997.3751,  132.9663],\n",
      "        [ 897.6555,   93.9612, 1020.3049,  137.0211]], device='cuda:0')\n",
      "Ground-truth box:  [ 912.   96. 1008.  133.]\n",
      "0.6952021328496024\n",
      "For brand:  Chase Personal Banking+2020-05-05-12`33`00\n",
      "Predicted box:  tensor([[585.5062,  54.8626, 778.4304,  96.1452],\n",
      "        [528.0351, 270.9257, 617.0510, 297.8138]], device='cuda:0')\n",
      "Ground-truth box:  [578.  52. 784.  96.]\n",
      "0.8728969377465786\n",
      "For brand:  Webmail Providers+2020-05-10-17`12`41\n",
      "Predicted box:  tensor([[1.5697e+02, 2.8344e-01, 3.6021e+02, 3.7486e+01],\n",
      "        [1.1624e+03, 7.5155e-01, 1.2062e+03, 3.7006e+01],\n",
      "        [1.6420e+02, 2.4600e+00, 2.0983e+02, 3.3044e+01]], device='cuda:0')\n",
      "Ground-truth box:  [169.   6. 206.  30.]\n",
      "0.6362424014387004\n",
      "For brand:  AT&T Inc.+2020-05-02-13`59`33\n",
      "Predicted box:  tensor([[ 231.0504,   46.5260,  289.2052,   99.4442],\n",
      "        [ 993.6136,   57.6558, 1092.9874,   84.8498],\n",
      "        [ 216.9072,   44.0946,  335.0214,  105.8547]], device='cuda:0')\n",
      "Ground-truth box:  [235.  50. 283.  95.]\n",
      "0.701880758528013\n",
      "For brand:  DocuSign+2020-05-23-12`31`19\n",
      "Predicted box:  tensor([[235.2545,   6.7618, 647.3311, 107.2325]], device='cuda:0')\n",
      "Ground-truth box:  [229.   5. 511. 106.]\n",
      "0.6435802407900236\n",
      "For brand:  Facebook, Inc.+2020-05-24-18`54`47\n",
      "Predicted box:  tensor([[ 891.0988,    1.6926, 1027.4275,   42.4625]], device='cuda:0')\n",
      "Ground-truth box:  [ 888.    3. 1033.   43.]\n",
      "0.8999086332773367\n",
      "For brand:  Facebook, Inc.+2020-05-30-14`30`45\n",
      "Predicted box:  tensor([[ 903.9589,    4.6390, 1015.7404,   40.5304]], device='cuda:0')\n",
      "Ground-truth box:  [ 897.    2. 1021.   46.]\n",
      "0.7353368298935745\n",
      "For brand:  AT&T Inc.+2020-05-15-17`51`30\n",
      "Predicted box:  tensor([[ 231.0483,   46.5166,  289.2135,   99.4368],\n",
      "        [ 993.7119,   57.6077, 1093.0498,   84.9215],\n",
      "        [ 217.1332,   44.1048,  335.4525,  105.8167]], device='cuda:0')\n",
      "Ground-truth box:  [233.  49. 286.  96.]\n",
      "0.8092627318065122\n",
      "For brand:  Itau Unibanco S.A+2020-05-24-16`26`37\n",
      "Predicted box:  tensor([[  8.4470,   4.8480, 216.7654,  70.3882]], device='cuda:0')\n",
      "Ground-truth box:  [ 10.  10. 222.  77.]\n",
      "0.8123182823009977\n",
      "For brand:  LinkedIn Corporation+2020-05-10-23`37`39\n",
      "Predicted box:  tensor([[601.6278,  19.7230, 756.1453,  63.7057]], device='cuda:0')\n",
      "Ground-truth box:  [599.  19. 762.  66.]\n",
      "0.8871016724673471\n",
      "For brand:  DHL Airways, Inc.+2020-05-02-15`26`54\n",
      "Predicted box:  tensor([[563.7693,  44.5388, 796.0440,  88.5988],\n",
      "        [568.0815,  46.0819, 795.4343, 170.1719],\n",
      "        [571.9139, 108.6839, 792.8892, 172.5940]], device='cuda:0')\n",
      "Ground-truth box:  [561.  41. 796.  91.]\n",
      "0.8706730093415237\n",
      "For brand:  Visa International Service Association+2020-05-01-18`56`23\n",
      "Predicted box:  tensor([[ 14.4837,   5.7096, 261.5918,  66.8078],\n",
      "        [  9.6380,   8.9453, 144.1620,  65.1279]], device='cuda:0')\n",
      "Ground-truth box:  [ 40.  35. 114.  61.]\n",
      "0.2545674787302648\n",
      "For brand:  Absa Group+2020-05-18-12`59`58\n",
      "Predicted box:  tensor([[  6.7644,   7.4721,  58.0609,  55.3018],\n",
      "        [  0.0000,   4.4888,  98.7959,  59.3325],\n",
      "        [  1.0872,   2.5923, 197.6728,  60.8582],\n",
      "        [156.4924,  22.0423, 209.8617,  44.3450]], device='cuda:0')\n",
      "Ground-truth box:  [ 6.  7. 56. 54.]\n",
      "0.911713653071303\n",
      "For brand:  Bank of America+2020-05-14-14`16`11\n",
      "Predicted box:  tensor([[118.5037,  13.4945, 359.7247,  52.2094],\n",
      "        [123.5861,  85.5943, 418.4829, 155.5981]], device='cuda:0')\n",
      "Ground-truth box:  [110.   4. 365.  54.]\n",
      "0.7324578149502513\n",
      "For brand:  M & T Bank Coporation+2020-05-18-13`22`15\n",
      "Predicted box:  tensor([[196.7542,   3.6977, 366.1207,  54.9735],\n",
      "        [196.6309,  74.0214, 288.1369, 105.7765]], device='cuda:0')\n",
      "Ground-truth box:  [206.  16. 373.  58.]\n",
      "0.6598120371317217\n",
      "For brand:  AT&T Inc.+2020-05-29-12`21`18\n",
      "Predicted box:  tensor([[501.9395,  46.7084, 556.1397,  98.0623],\n",
      "        [482.1066,  44.5712, 583.6512, 104.5766]], device='cuda:0')\n",
      "Ground-truth box:  [502.  50. 554.  97.]\n",
      "0.8780645229340786\n",
      "For brand:  Lloyds TSB Group+2020-05-24-19`56`00\n",
      "Predicted box:  tensor([[ 924.0173,    1.9936,  977.2264,   47.1196],\n",
      "        [ 784.3350,   71.1266, 1101.3876,  108.1961],\n",
      "        [ 904.5542,    1.8773, 1000.8146,   53.6569]], device='cuda:0')\n",
      "Ground-truth box:  [924.   2. 979.  39.]\n",
      "0.7979064777263977\n",
      "For brand:  Discover+2020-05-25-18`45`16\n",
      "Predicted box:  tensor([[193.6906,  13.0025, 324.0107,  50.3139],\n",
      "        [828.6091,  10.5932, 975.3800,  58.7467],\n",
      "        [188.8018,  12.3960, 465.0895,  51.0312],\n",
      "        [195.5023, 267.1413, 587.6494, 349.9803]], device='cuda:0')\n",
      "Ground-truth box:  [190.  10. 323.  44.]\n",
      "0.7455647196895999\n",
      "For brand:  RuneScape+2020-05-09-14`35`08\n",
      "Predicted box:  tensor([[ 528.5126,  175.7788,  682.3461,  244.8275],\n",
      "        [ 520.9020,  177.4430,  833.4994,  249.8298],\n",
      "        [  82.4529,    1.9114,  128.8993,   36.2391],\n",
      "        [ 905.5421,   71.3183, 1105.3199,  188.0078],\n",
      "        [ 687.4445,  189.1359,  830.3466,  239.4077],\n",
      "        [  87.5091,    4.7162,  117.7525,   30.1740]], device='cuda:0')\n",
      "Ground-truth box:  [689. 193. 831. 239.]\n",
      "0.901294901765314\n",
      "For brand:  Discover+2020-05-02-08`28`11\n",
      "Predicted box:  tensor([[203.1654,  14.1974, 332.3723,  47.9037],\n",
      "        [200.0505,   8.3329, 448.0481,  51.4343]], device='cuda:0')\n",
      "Ground-truth box:  [200.  11. 326.  51.]\n",
      "0.7879094583859604\n",
      "For brand:  Google Inc.+2020-05-27-10`40`07\n",
      "Predicted box:  tensor([[ 918.5532,  101.6380,  997.3751,  132.9663],\n",
      "        [ 897.6555,   93.9612, 1020.3049,  137.0211]], device='cuda:0')\n",
      "Ground-truth box:  [ 910.   96. 1008.  133.]\n",
      "0.6865767064629795\n",
      "For brand:  Bank of The Bahamas Limited+2020-05-21-10`12`13\n",
      "Predicted box:  tensor([[  13.3705,   39.6463,  226.2359,  138.2857],\n",
      "        [ 171.7690,  157.6437, 1192.8048,  268.8486],\n",
      "        [ 192.7661,  162.0080,  482.0003,  266.6223],\n",
      "        [ 680.4641,  161.2702, 1177.6080,  265.9037]], device='cuda:0')\n",
      "Ground-truth box:  [ 10.  40. 220. 140.]\n",
      "0.9363953653626635\n",
      "For brand:  Sparkasse Bank+2020-05-24-23`22`50\n",
      "Predicted box:  tensor([[  3.6752,  43.5641, 147.6176, 113.5381],\n",
      "        [ 11.1412,  43.1241, 323.5450, 117.5687],\n",
      "        [708.3771,  65.0591, 838.0955,  96.6448],\n",
      "        [152.1866,  55.3813, 321.2829, 113.6638]], device='cuda:0')\n",
      "Ground-truth box:  [  7.  48. 147. 117.]\n",
      "0.8691326441415571\n",
      "For brand:  TradeKey+2020-05-11-15`37`16\n",
      "Predicted box:  tensor([[291.0074,  27.4981, 512.2591,  74.0970]], device='cuda:0')\n",
      "Ground-truth box:  [291.  24. 514.  71.]\n",
      "0.8619633759021217\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "For brand:  SOCIETE FRANCAISE DU RADIOTELEPHONE+2020-05-23-22`10`58\n",
      "Predicted box:  tensor([[ 295.1025,    5.9496,  357.4984,   61.7051],\n",
      "        [ 290.2712,    2.9927,  409.6970,   63.6841],\n",
      "        [1531.1173,    9.2027, 1606.7418,   60.6219],\n",
      "        [1345.4519,    6.6521, 1614.7511,   63.5765],\n",
      "        [ 496.7527,  172.1792,  717.8485,  315.0080],\n",
      "        [1546.6328,   10.4846, 1592.1301,   47.1013]], device='cuda:0')\n",
      "Ground-truth box:  [300.   8. 352.  58.]\n",
      "0.7473589671453693\n",
      "For brand:  Banco do Brasil S.A.+2020-05-01-18`34`29\n",
      "Predicted box:  tensor([[621.1577, 323.1519, 742.2679, 441.3421]], device='cuda:0')\n",
      "Ground-truth box:  [629. 322. 740. 443.]\n",
      "0.8969755192527119\n",
      "For brand:  Grupo Santander+2020-05-19-02`44`29\n",
      "Predicted box:  tensor([[  8.1002,   2.1361, 201.3532,  48.6347],\n",
      "        [806.9066, 158.2912, 883.5975, 232.5249]], device='cuda:0')\n",
      "Ground-truth box:  [ 10.   4. 196.  46.]\n",
      "0.8693527972616489\n",
      "For brand:  Match+2020-05-24-07`57`53\n",
      "Predicted box:  tensor([[  8.4751,   7.3664, 196.8664,  44.7496]], device='cuda:0')\n",
      "Ground-truth box:  [  7.  12. 176.  38.]\n",
      "0.6151157463450875\n",
      "For brand:  PostFinance+2020-05-13-15`30`23\n",
      "Predicted box:  tensor([[497.6874,  14.1346, 670.4437,  73.5612]], device='cuda:0')\n",
      "Ground-truth box:  [503.  19. 664.  70.]\n",
      "0.7997994040560075\n",
      "For brand:  eBay Inc.+2020-05-14-20`51`14\n",
      "Predicted box:  tensor([[  9.6820,  20.9172, 105.5970,  63.7740],\n",
      "        [634.3904, 111.8983, 732.7969, 152.5119],\n",
      "        [636.7969, 789.5509, 722.8219, 831.0992]], device='cuda:0')\n",
      "Ground-truth box:  [11. 20. 98. 61.]\n",
      "0.8321863293402327\n",
      "For brand:  Desjardins+2020-05-24-20`20`38\n",
      "Predicted box:  tensor([[485.0766,   9.5987, 650.8846,  51.6955],\n",
      "        [484.7133,   3.7513, 917.9037,  57.5572],\n",
      "        [679.0552,   8.9249, 788.7123,  50.8300],\n",
      "        [670.9711,   7.2207, 905.3272,  56.1390],\n",
      "        [808.9371,   7.2101, 906.4825,  53.3189]], device='cuda:0')\n",
      "Ground-truth box:  [480.   5. 646.  53.]\n",
      "0.8288078687513812\n",
      "For brand:  Rackspace+2020-05-15-01`19`11\n",
      "Predicted box:  tensor([[  10.8047,    6.7271,  178.3682,   43.0734],\n",
      "        [1215.7406,    8.9917, 1352.8065,   45.8250]], device='cuda:0')\n",
      "Ground-truth box:  [1219.    7. 1359.   49.]\n",
      "0.8214147187334412\n",
      "For brand:  IRS+2020-05-01-19`00`39\n",
      "Predicted box:  tensor([[ 936.5763,   20.8937, 1054.4730,   71.1816],\n",
      "        [ 315.6414,   37.4380,  500.4724,  108.1257],\n",
      "        [ 321.5374,   34.3531,  489.3393,   71.4571]], device='cuda:0')\n",
      "Ground-truth box:  [ 934.   20. 1056.   76.]\n",
      "0.867795056914025\n",
      "For brand:  Dropbox, Inc.+2020-05-02-17`02`22\n",
      "Predicted box:  tensor([[184.1932,  11.6329, 233.7493,  58.1237],\n",
      "        [323.9359, 138.8618, 498.7421, 327.8730],\n",
      "        [277.6483, 119.2610, 563.1425, 443.3423],\n",
      "        [681.1785, 126.3923, 995.7827, 171.1521],\n",
      "        [716.6219, 254.3893, 831.3064, 308.0095],\n",
      "        [178.0144,   9.4513, 314.2431,  61.0879]], device='cuda:0')\n",
      "Ground-truth box:  [184.  11. 235.  57.]\n",
      "0.936099026387931\n",
      "For brand:  Yahoo! Inc+2020-05-02-14`48`02\n",
      "Predicted box:  tensor([[   9.4631,    6.2826,  114.6425,   49.4910],\n",
      "        [ 956.2073,   99.3937, 1081.8486,  138.8616]], device='cuda:0')\n",
      "Ground-truth box:  [  8.   8. 112.  51.]\n",
      "0.8933469062021381\n",
      "For brand:  LinkedIn Corporation+2020-05-09-12`00`39\n",
      "Predicted box:  tensor([[603.4380,  19.5009, 755.9749,  63.3130]], device='cuda:0')\n",
      "Ground-truth box:  [609.  22. 755.  61.]\n",
      "0.8520184195412231\n",
      "For brand:  RBC Royal Bank+2020-05-13-14`03`46\n",
      "Predicted box:  tensor([[ 78.3533,   6.3019, 133.5942,  64.7657],\n",
      "        [ 74.1922,   1.5604, 258.6126,  68.8557],\n",
      "        [ 91.1304,  66.2843, 257.9464,  94.3836]], device='cuda:0')\n",
      "Ground-truth box:  [ 78.   8. 129.  65.]\n",
      "0.8814694701070109\n",
      "For brand:  Bankia+2020-05-19-02`00`48\n",
      "Predicted box:  tensor([[  90.3973,   14.5581,  238.1587,   63.3708],\n",
      "        [ 120.1904,   13.5019,  537.5744,   68.8146],\n",
      "        [ 970.9907,    2.9632, 1258.6689,   67.4823],\n",
      "        [ 279.3753,   23.5482,  541.3762,   64.8486],\n",
      "        [ 104.5790,   13.1077,  350.1006,   64.1899]], device='cuda:0')\n",
      "Ground-truth box:  [ 88.  11. 241.  57.]\n",
      "0.7859366167268669\n",
      "For brand:  Dropbox, Inc.+2020-05-08-02`29`59\n",
      "Predicted box:  tensor([[584.6520,   6.9151, 774.4260,  60.8825],\n",
      "        [358.9500, 246.2794, 912.0983, 644.3137],\n",
      "        [182.1909,  16.2588, 368.1295,  60.1794]], device='cuda:0')\n",
      "Ground-truth box:  [580.  -2. 780.  57.]\n",
      "0.7581542165360567\n",
      "For brand:  AutoScout24+2020-05-02-13`06`27\n",
      "Predicted box:  tensor([[144.9730,   8.3086, 300.2753,  56.0543],\n",
      "        [145.0967,  12.2068, 215.6926,  52.3103]], device='cuda:0')\n",
      "Ground-truth box:  [136.  10. 308.  58.]\n",
      "0.8396059513729738\n",
      "For brand:  LinkedIn Corporation+2020-05-14-19`19`10\n",
      "Predicted box:  tensor([[603.4380,  19.5009, 755.9749,  63.3130]], device='cuda:0')\n",
      "Ground-truth box:  [600.  17. 763.  66.]\n",
      "0.8367289817758207\n",
      "For brand:  PayPal Inc.+2020-05-25-06`50`56\n",
      "Predicted box:  tensor([[ 885.9152,  124.2278, 1033.5607,  172.2351]], device='cuda:0')\n",
      "Ground-truth box:  [ 895.  125. 1034.  167.]\n",
      "0.8189018919928455\n",
      "For brand:  Dropbox, Inc.+2020-05-16-12`27`30\n",
      "Predicted box:  tensor([[590.9117,  52.6670, 792.5447, 102.2659],\n",
      "        [201.6985,  55.5457, 247.1023,  96.7844],\n",
      "        [334.2701, 184.6035, 507.5659, 373.7689],\n",
      "        [195.4864,  52.1216, 277.2373, 103.1014],\n",
      "        [312.2263, 176.4934, 566.6136, 447.4756]], device='cuda:0')\n",
      "Ground-truth box:  [191.  51. 253.  92.]\n",
      "0.5998636505353467\n",
      "For brand:  RBC Royal Bank+2020-05-25-03`39`51\n",
      "Predicted box:  tensor([[364.0138,   0.7829, 416.3031,  57.2788],\n",
      "        [361.1664,   0.0000, 540.0074,  56.9546]], device='cuda:0')\n",
      "Ground-truth box:  [367.   3. 411.  54.]\n",
      "0.7596135289173894\n",
      "For brand:  Match+2020-05-14-20`01`47\n",
      "Predicted box:  tensor([[ 233.4798,   28.1095,  476.1232,   73.2885],\n",
      "        [1002.1106,    2.6060, 1216.3839,   54.6185]], device='cuda:0')\n",
      "Ground-truth box:  [232.  23. 478.  79.]\n",
      "0.7957582083273239\n",
      "For brand:  SOCIETE FRANCAISE DU RADIOTELEPHONE+2020-05-25-09`33`46\n",
      "Predicted box:  tensor([[ 455.0213,   39.7107,  526.5897,  101.6311],\n",
      "        [ 451.2603,   38.9822,  591.7327,  105.6154],\n",
      "        [1352.3156,   48.9314, 1447.2964,   97.6016]], device='cuda:0')\n",
      "Ground-truth box:  [457.  42. 522. 104.]\n",
      "0.8452734171757834\n",
      "For brand:  Deutsche Telekom+2020-05-25-12`52`01\n",
      "Predicted box:  tensor([[2.7858e-01, 3.9641e+00, 1.1576e+02, 6.5666e+01],\n",
      "        [5.8980e+02, 2.1210e+01, 8.3328e+02, 5.2456e+01],\n",
      "        [7.6962e+00, 9.6337e+01, 3.9719e+02, 2.0735e+02],\n",
      "        [1.4731e+00, 6.0970e+00, 5.5103e+01, 6.4772e+01]], device='cuda:0')\n",
      "Ground-truth box:  [  3.   3. 113.  60.]\n",
      "0.8524207783922478\n",
      "For brand:  ATB Financial+2020-05-12-12`17`55\n",
      "Predicted box:  tensor([[403.2036,  53.0500, 958.4402, 112.1527],\n",
      "        [403.4390,  42.4357, 963.3982, 164.9379]], device='cuda:0')\n",
      "Ground-truth box:  [686.  56. 793. 109.]\n",
      "0.17281222798944929\n",
      "For brand:  Netflix Inc.+2020-05-03-11`14`26\n",
      "Predicted box:  tensor([[  29.2888,   13.9251,  218.2578,   80.4544],\n",
      "        [ 458.3188,  139.6756,  570.1697,  182.7897],\n",
      "        [ 986.2924,    1.9599, 1156.1250,  114.2077]], device='cuda:0')\n",
      "Ground-truth box:  [ 27.  10. 216.  84.]\n",
      "0.8787193000467629\n",
      "For brand:  U.S. Bank+2020-05-02-15`29`38\n",
      "Predicted box:  tensor([[105.8027,   8.4326, 321.6032,  69.4552],\n",
      "        [112.6332,  10.3255, 207.5231,  67.1513],\n",
      "        [ 82.3666,   4.4724, 479.7114,  73.9569]], device='cuda:0')\n",
      "Ground-truth box:  [112.   9. 323.  65.]\n",
      "0.8860753967320768\n",
      "For brand:  AT&T Inc.+2020-05-25-04`51`31\n",
      "Predicted box:  tensor([[ 500.6219,   46.4337,  557.7258,   98.9764],\n",
      "        [1262.2708,   58.6618, 1359.8885,   84.4395]], device='cuda:0')\n",
      "Ground-truth box:  [502.  48. 556.  94.]\n",
      "0.8278910535690072\n",
      "For brand:  Apple Inc.+2020-05-24-19`00`43\n",
      "Predicted box:  tensor([[  11.5597,    7.7842,   36.2411,   34.3951],\n",
      "        [ 896.2251,  351.0987, 1018.5349,  458.6926],\n",
      "        [  10.0388,    6.6229,   53.7671,   38.1723]], device='cuda:0')\n",
      "Ground-truth box:  [10.  9. 38. 37.]\n",
      "0.7700023097979509\n",
      "For brand:  Bank of America+2020-05-10-22`59`28\n",
      "Predicted box:  tensor([[118.5037,  13.4945, 359.7247,  52.2094],\n",
      "        [123.5861,  85.5943, 418.4829, 155.5981]], device='cuda:0')\n",
      "Ground-truth box:  [118.   8. 359.  58.]\n",
      "0.7708839850826195\n",
      "For brand:  Visa International Service Association+2020-05-14-12`50`54\n",
      "Predicted box:  tensor([[ 795.2011,  130.0394, 1074.8588,  272.1592],\n",
      "        [ 120.6001,   24.8849,  348.3948,   51.5536],\n",
      "        [ 292.7250,  152.6880,  688.6210,  203.9028],\n",
      "        [ 271.5947,  133.3646,  722.0994,  259.7104]], device='cuda:0')\n",
      "Ground-truth box:  [ 856.  198. 1044.  267.]\n",
      "0.3263815107525065\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "For brand:  IRS+2020-05-14-15`35`01\n",
      "Predicted box:  tensor([[111.4887,  27.8507, 264.3531,  91.5076],\n",
      "        [120.8711, 560.6939, 258.9052, 617.5665]], device='cuda:0')\n",
      "Ground-truth box:  [113.  25. 265.  92.]\n",
      "0.9372071050968407\n",
      "For brand:  Google Inc.+2020-05-26-10`05`54\n",
      "Predicted box:  tensor([[ 918.5532,  101.6380,  997.3751,  132.9663],\n",
      "        [ 897.6555,   93.9612, 1020.3049,  137.0211]], device='cuda:0')\n",
      "Ground-truth box:  [ 907.   91. 1013.  133.]\n",
      "0.7395875656403218\n",
      "For brand:  Bank of The Bahamas Limited+2020-05-17-09`56`50\n",
      "Predicted box:  tensor([[  13.3838,   40.1469,  224.4721,  137.9048],\n",
      "        [ 169.1419,  157.0552, 1208.2579,  270.3390],\n",
      "        [ 695.5411,  162.2618, 1181.7719,  266.6138],\n",
      "        [ 214.2291,  162.1579,  468.0729,  266.4148]], device='cuda:0')\n",
      "Ground-truth box:  [  3.  45. 223. 146.]\n",
      "0.8329071127739757\n",
      "For brand:  Discover+2020-05-25-15`47`40\n",
      "Predicted box:  tensor([[193.6906,  13.0025, 324.0107,  50.3139],\n",
      "        [828.6091,  10.5932, 975.3800,  58.7467],\n",
      "        [188.8018,  12.3960, 465.0895,  51.0312],\n",
      "        [195.5023, 267.1413, 587.6494, 349.9803]], device='cuda:0')\n",
      "Ground-truth box:  [186.   9. 325.  50.]\n",
      "0.8400000295697846\n",
      "For brand:  LinkedIn Corporation+2020-05-14-13`59`36\n",
      "Predicted box:  tensor([[603.4380,  19.5009, 755.9749,  63.3130]], device='cuda:0')\n",
      "Ground-truth box:  [603.  22. 762.  64.]\n",
      "0.8927009930496344\n",
      "For brand:  Cox Communications+2020-05-24-13`36`22\n",
      "Predicted box:  tensor([[ 579.5317,   45.2672,  653.7263,   76.3017],\n",
      "        [ 275.9438,  100.3890,  573.4113,  139.2953],\n",
      "        [ 907.2533,  144.2576, 1018.5237,  191.4883]], device='cuda:0')\n",
      "Ground-truth box:  [576.  43. 653.  80.]\n",
      "0.7940161438941576\n",
      "For brand:  DGI (French Tax Authority)+2020-05-18-12`35`41\n",
      "Predicted box:  tensor([[ 108.0600,   37.7199,  196.7740,   96.3552],\n",
      "        [  99.1464,   26.5105,  500.1775,  100.8469],\n",
      "        [1010.1742,   15.5392, 1229.2058,   58.6654],\n",
      "        [1004.2452,   66.6004, 1238.6356,  113.1481],\n",
      "        [ 220.7605,   35.7566,  500.8437,   75.8183]], device='cuda:0')\n",
      "Ground-truth box:  [107.  38. 198.  95.]\n",
      "0.9483563344456925\n",
      "For brand:  DocuSign+2020-05-02-18`51`16\n",
      "Predicted box:  tensor([[ 31.9777,  12.1489, 177.3122,  62.9337],\n",
      "        [587.3606, 274.6367, 799.4191, 319.4844],\n",
      "        [619.6294, 442.1208, 763.6625, 482.6562]], device='cuda:0')\n",
      "Ground-truth box:  [ 30.  19. 182.  67.]\n",
      "0.7700575792240866\n",
      "For brand:  LinkedIn Corporation+2020-05-16-23`37`59\n",
      "Predicted box:  tensor([[603.4380,  19.5009, 755.9749,  63.3130]], device='cuda:0')\n",
      "Ground-truth box:  [597.  18. 757.  70.]\n",
      "0.8032397082446687\n",
      "For brand:  Chase Personal Banking+2020-05-09-10`49`41\n",
      "Predicted box:  tensor([[581.7406,   3.8690, 772.3451,  55.7699]], device='cuda:0')\n",
      "Ground-truth box:  [575.   5. 776.  53.]\n",
      "0.8804295629889223\n",
      "For brand:  Absa Group+2020-05-27-17`31`17\n",
      "Predicted box:  tensor([[  5.1878,   5.8061,  60.8929,  55.9462],\n",
      "        [  4.4933,   3.5714, 131.1400,  61.4223],\n",
      "        [154.8910,  19.4236, 209.4104,  45.8670]], device='cuda:0')\n",
      "Ground-truth box:  [ 5.  8. 56. 56.]\n",
      "0.8685991750141338\n",
      "For brand:  Banco do Brasil S.A.+2020-05-24-08`50`06\n",
      "Predicted box:  tensor([[ 897.8013,  428.6571, 1018.1250,  544.9716],\n",
      "        [ 913.7542,    2.8168,  997.1702,   29.1408],\n",
      "        [ 866.3317,  414.5956, 1050.5040,  567.5206]], device='cuda:0')\n",
      "Ground-truth box:  [ 911.  439. 1010.  536.]\n",
      "0.6861543854188187\n",
      "For brand:  Wells Fargo & Company+2020-05-29-12`28`46\n",
      "Predicted box:  tensor([[450.8818,   8.1628, 705.1747,  48.6317]], device='cuda:0')\n",
      "Ground-truth box:  [456.   9. 700.  55.]\n",
      "0.8164027921243106\n",
      "For brand:  International Card Services B.V+2020-05-10-17`21`30\n",
      "Predicted box:  tensor([[193.7717,   2.9290, 326.1638,  59.0053]], device='cuda:0')\n",
      "Ground-truth box:  [196.   7. 329.  65.]\n",
      "0.8088581915587558\n",
      "For brand:  American Express+2020-05-18-15`17`07\n",
      "Predicted box:  tensor([[178.8875,  15.1130, 244.1564,  76.3401]], device='cuda:0')\n",
      "Ground-truth box:  [181.  16. 240.  75.]\n",
      "0.8710720508038585\n",
      "For brand:  Westpac Institutional Banking+2020-05-13-11`19`17\n",
      "Predicted box:  tensor([[462.3506,  79.5495, 884.8907, 178.4582],\n",
      "        [468.8556,  81.1442, 652.1507, 175.9138],\n",
      "        [710.5821,  88.8773, 891.7017, 164.5637],\n",
      "        [431.1326,  41.6435, 942.7787, 207.9874]], device='cuda:0')\n",
      "Ground-truth box:  [474.  82. 647. 174.]\n",
      "0.9162499082578496\n",
      "For brand:  Facebook, Inc.+2020-05-19-06`05`25\n",
      "Predicted box:  tensor([[126.7991,  14.4359, 316.9316,  70.2700]], device='cuda:0')\n",
      "Ground-truth box:  [134.  15. 311.  66.]\n",
      "0.8503296570745471\n",
      "For brand:  Banco do Brasil S.A.+2020-05-15-12`35`54\n",
      "Predicted box:  tensor([[180.7132,  56.9873, 251.2144, 128.1274],\n",
      "        [102.5363,  55.2934, 263.7227, 130.2482]], device='cuda:0')\n",
      "Ground-truth box:  [188.  62. 246. 120.]\n",
      "0.6707255963503053\n",
      "For brand:  Americanas.com S,A Comercio Electrnico+2020-05-25-14`03`17\n",
      "Predicted box:  tensor([[ 309.5143,   62.4577,  549.9219,  116.1273],\n",
      "        [ 772.0192,    1.9262, 1095.5156,   50.3264],\n",
      "        [ 405.6039,    2.4589, 1080.1710,   52.7452],\n",
      "        [ 782.7896,    0.0000,  842.0563,   53.5564],\n",
      "        [ 400.5945,    4.6386,  799.5822,   45.9600],\n",
      "        [ 317.0037,   73.5171,  508.2312,  106.0190]], device='cuda:0')\n",
      "Ground-truth box:  [313.  68. 539. 112.]\n",
      "0.7706988015284045\n",
      "For brand:  DocuSign+2020-05-02-11`46`41\n",
      "Predicted box:  tensor([[ 13.3963,   8.1725, 122.5143,  44.2817],\n",
      "        [410.0960, 164.3650, 931.9376, 325.6265],\n",
      "        [ 14.0834,   6.5786, 221.0284,  46.1004],\n",
      "        [ 71.8618, 152.9150, 317.2825, 202.5157],\n",
      "        [171.8882,  11.9608, 232.9437,  42.0600]], device='cuda:0')\n",
      "Ground-truth box:  [ 16.  10. 123.  46.]\n",
      "0.8818599011405617\n",
      "For brand:  Daum+2020-05-27-17`09`00\n",
      "Predicted box:  tensor([[ 903.7900,   16.6775, 1018.7609,   73.1441]], device='cuda:0')\n",
      "Ground-truth box:  [ 893.   15. 1032.   75.]\n",
      "0.7784192146219187\n",
      "For brand:  Chase Personal Banking+2020-05-04-11`30`00\n",
      "Predicted box:  tensor([[231.2924, 180.6213, 418.7882, 216.1274],\n",
      "        [586.1479,  53.9359, 779.1867,  97.2129]], device='cuda:0')\n",
      "Ground-truth box:  [589.  46. 781.  96.]\n",
      "0.8036920354902883\n",
      "For brand:  RBC Royal Bank+2020-05-15-10`53`32\n",
      "Predicted box:  tensor([[ 78.3533,   6.3019, 133.5942,  64.7657],\n",
      "        [ 74.1922,   1.5604, 258.6126,  68.8557],\n",
      "        [ 91.1304,  66.2843, 257.9464,  94.3836]], device='cuda:0')\n",
      "Ground-truth box:  [ 78.   6. 129.  70.]\n",
      "0.8381942769738195\n",
      "For brand:  Credit Agricole S.A.+2020-05-18-10`05`11\n",
      "Predicted box:  tensor([[8.2310e-01, 8.4344e+00, 1.6893e+02, 5.5750e+01],\n",
      "        [1.2976e+03, 0.0000e+00, 1.3638e+03, 6.2534e+01]], device='cuda:0')\n",
      "Ground-truth box:  [  0.  12. 173.  55.]\n",
      "0.8853895829446238\n",
      "For brand:  M & T Bank Coporation+2020-05-14-14`18`49\n",
      "Predicted box:  tensor([[610.7418,   5.4179, 752.1721,  45.4357]], device='cuda:0')\n",
      "Ground-truth box:  [605.   5. 760.  49.]\n",
      "0.829872698486229\n",
      "For brand:  Credit Agricole S.A.+2020-05-09-15`07`14\n",
      "Predicted box:  tensor([[377.3462,  17.4536, 679.5646, 100.1800],\n",
      "        [379.8929,  18.4245, 479.6602,  89.5194],\n",
      "        [385.4956, 359.1158, 498.1329, 388.0006]], device='cuda:0')\n",
      "Ground-truth box:  [382.  22. 477.  84.]\n",
      "0.8304023950256867\n",
      "For brand:  Daum+2020-05-29-16`02`34\n",
      "Predicted box:  tensor([[ 903.7142,   16.7285, 1018.6768,   73.0527]], device='cuda:0')\n",
      "Ground-truth box:  [ 895.   27. 1016.   68.]\n",
      "0.6738005850725601\n",
      "For brand:  Wells Fargo & Company+2020-05-25-01`27`49\n",
      "Predicted box:  tensor([[450.8818,   8.1631, 705.1736,  48.6310]], device='cuda:0')\n",
      "Ground-truth box:  [448.  -1. 711.  56.]\n",
      "0.6864564384245723\n",
      "For brand:  Cox Communications+2020-05-14-18`17`07\n",
      "Predicted box:  tensor([[302.1958,  46.5996, 373.2365,  77.1287]], device='cuda:0')\n",
      "Ground-truth box:  [297.  50. 369.  77.]\n",
      "0.7811346682603064\n",
      "For brand:  Rackspace+2020-05-01-21`33`31\n",
      "Predicted box:  tensor([[ 17.0987,   8.9891, 151.6050,  48.3628]], device='cuda:0')\n",
      "Ground-truth box:  [ 16.  11. 153.  51.]\n",
      "0.8739340422575872\n",
      "For brand:  Bankia+2020-05-17-05`07`54\n",
      "Predicted box:  tensor([[104.2443,  20.0625, 232.9239,  62.6516]], device='cuda:0')\n",
      "Ground-truth box:  [103.  19. 235.  60.]\n",
      "0.893265449120133\n",
      "For brand:  Daum+2020-05-25-01`48`36\n",
      "Predicted box:  tensor([[ 903.7900,   16.6775, 1018.7609,   73.1441]], device='cuda:0')\n",
      "Ground-truth box:  [ 899.   14. 1028.   77.]\n",
      "0.7988207512979508\n",
      "For brand:  Free (ISP)+2020-05-25-07`30`22\n",
      "Predicted box:  tensor([[453.7249,   8.3467, 589.1559,  57.3468],\n",
      "        [455.5251,   7.7201, 891.1574,  59.1754],\n",
      "        [569.1844, 153.4191, 809.3999, 225.4407]], device='cuda:0')\n",
      "Ground-truth box:  [451.   3. 586.  58.]\n",
      "0.8551177608361644\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "For brand:  Chronopost International+2020-05-24-07`07`59\n",
      "Predicted box:  tensor([[477.5126,  15.6099, 800.1613,  92.3981],\n",
      "        [481.6749,  14.6767, 552.6983,  90.5414]], device='cuda:0')\n",
      "Ground-truth box:  [480.  15. 794.  87.]\n",
      "0.8978398207592833\n",
      "For brand:  Office365+2020-05-27-16`54`39\n",
      "Predicted box:  tensor([[777.0972, 376.3772, 898.8825, 416.2293],\n",
      "        [779.2552, 430.3865, 865.0122, 464.0847]], device='cuda:0')\n",
      "Ground-truth box:  [774. 372. 904. 415.]\n",
      "0.8194996356718567\n",
      "For brand:  Lloyds TSB Group+2020-05-30-14`39`14\n",
      "Predicted box:  tensor([[ 924.3199,    2.9694,  977.4374,   47.6632],\n",
      "        [ 782.8500,   72.3359, 1100.8932,  111.1749]], device='cuda:0')\n",
      "Ground-truth box:  [916.   7. 986.  43.]\n",
      "0.6413023984225423\n",
      "For brand:  Dropbox, Inc.+2020-05-27-10`30`37\n",
      "Predicted box:  tensor([[ 855.2015,    6.1063, 1043.2012,   60.0619],\n",
      "        [ 630.1992,  257.8801, 1199.4122,  654.2495]], device='cuda:0')\n",
      "Ground-truth box:  [ 847.    9. 1040.   58.]\n",
      "0.8586705782532661\n",
      "For brand:  Alibaba+2020-05-05-13`24`47\n",
      "Predicted box:  tensor([[ 82.5181,  32.5969, 277.0446,  72.5076]], device='cuda:0')\n",
      "Ground-truth box:  [ 83.  36. 279.  73.]\n",
      "0.8931520186273194\n",
      "For brand:  Netflix Inc.+2020-05-02-13`26`53\n",
      "Predicted box:  tensor([[ 31.1636,  12.7346, 220.4907,  79.2534],\n",
      "        [349.7369,  46.7867, 511.8544,  84.5991]], device='cuda:0')\n",
      "Ground-truth box:  [ 26.   7. 223.  87.]\n",
      "0.7990993435051381\n",
      "For brand:  Lloyds TSB Group+2020-05-30-15`48`19\n",
      "Predicted box:  tensor([[ 924.0173,    1.9936,  977.2264,   47.1196],\n",
      "        [ 784.3350,   71.1266, 1101.3876,  108.1961],\n",
      "        [ 904.5542,    1.8773, 1000.8146,   53.6569]], device='cuda:0')\n",
      "Ground-truth box:  [919.   0. 980.  39.]\n",
      "0.7004822339570834\n",
      "For brand:  Visa International Service Association+2020-05-02-20`22`51\n",
      "Predicted box:  tensor([[ 14.4837,   5.7096, 261.5918,  66.8078],\n",
      "        [  9.6380,   8.9453, 144.1620,  65.1279]], device='cuda:0')\n",
      "Ground-truth box:  [ 38.  32. 114.  61.]\n",
      "0.2916147209571225\n",
      "For brand:  Deutsche Telekom+2020-05-18-14`18`05\n",
      "Predicted box:  tensor([[  39.3334,   43.2625,  115.5094,   87.1574],\n",
      "        [1078.0830,   37.6205, 1324.9507,   92.1208],\n",
      "        [  33.5476,   43.0722,  275.1549,   87.5003],\n",
      "        [  41.9323,   46.0568,   76.0738,   85.9048],\n",
      "        [  56.1718,  160.5771,  685.2153,  212.8609]], device='cuda:0')\n",
      "Ground-truth box:  [ 32.  44. 113.  86.]\n",
      "0.847265947008558\n",
      "For brand:  Orange+2020-05-27-17`37`28\n",
      "Predicted box:  tensor([[ 357.7914,   23.6727,  484.9453,  136.7920],\n",
      "        [ 991.8851,  244.2349, 1271.5194,  314.7967],\n",
      "        [ 992.4328,  245.0474, 1041.7878,  311.3876],\n",
      "        [ 343.1359,   13.0007,  562.5455,  188.7067]], device='cuda:0')\n",
      "Ground-truth box:  [379.  34. 475. 132.]\n",
      "0.6540805379207011\n",
      "For brand:  Amazon.com Inc.+2020-05-02-03`11`05\n",
      "Predicted box:  tensor([[625.4725,   4.5751, 743.1302,  47.7220]], device='cuda:0')\n",
      "Ground-truth box:  [624.   6. 740.  37.]\n",
      "0.6931276973146363\n",
      "For brand:  Yahoo! Inc+2020-05-23-14`34`21\n",
      "Predicted box:  tensor([[   8.7399,    4.5627,  142.7037,   49.1334],\n",
      "        [1227.9355,   91.8147, 1360.7223,  138.3626],\n",
      "        [ 423.6578,   90.4654,  800.8954,  397.4789],\n",
      "        [ 422.9616,   89.3913,  780.5287,  198.1922],\n",
      "        [ 478.6154,  116.0536,  736.7797,  176.0085],\n",
      "        [1871.0548,   17.9815, 1907.4285,   42.4396]], device='cuda:0')\n",
      "Ground-truth box:  [  9.   7. 138.  48.]\n",
      "0.8858024986973893\n",
      "For brand:  WeTransfer+2020-05-02-01`24`04\n",
      "Predicted box:  tensor([[ 108.8478,  186.8079,  312.6237,  229.3544],\n",
      "        [  10.9186,   11.5920,   69.8478,   45.8812],\n",
      "        [ 826.1556,    0.0000, 1306.5388,  145.8289],\n",
      "        [ 743.4650,    9.6978, 1319.0516,  508.0147],\n",
      "        [ 821.1854,    0.0000,  979.2805,  141.1974],\n",
      "        [   8.4473,   12.3589,  110.3910,   53.5848],\n",
      "        [ 771.0402,    0.0000, 1354.5293,  255.1569],\n",
      "        [ 752.2402,  140.4430,  888.3223,  302.7599]], device='cuda:0')\n",
      "Ground-truth box:  [12. 15. 68. 42.]\n",
      "0.7482793012151997\n",
      "For brand:  Facebook, Inc.+2020-05-25-02`15`52\n",
      "Predicted box:  tensor([[ 891.0988,    1.6926, 1027.4275,   42.4625]], device='cuda:0')\n",
      "Ground-truth box:  [ 883.    0. 1040.   41.]\n",
      "0.8074775220882381\n",
      "For brand:  1&1 Ionos+2020-05-23-18`58`27\n",
      "Predicted box:  tensor([[  11.5146,   58.7528,  131.3547,  106.1912],\n",
      "        [  14.6485,   56.6798,  227.9782,  109.9571],\n",
      "        [ 842.1306,   60.0759, 1032.8829,  105.1512]], device='cuda:0')\n",
      "Ground-truth box:  [ 16.  66. 148. 101.]\n",
      "0.644171364091014\n",
      "For brand:  Equa bank+2020-05-24-19`43`53\n",
      "Predicted box:  tensor([[213.5724,  20.7364, 396.9580,  70.6732]], device='cuda:0')\n",
      "Ground-truth box:  [214.  12. 386.  60.]\n",
      "0.6335006234387982\n",
      "For brand:  Orange+2020-05-29-13`18`06\n",
      "Predicted box:  tensor([[  74.7477,   14.6899,  127.6015,   65.5473],\n",
      "        [ 848.5270,  247.0887, 1109.3837,  305.9318],\n",
      "        [1326.6870,  797.1931, 1463.2793,  924.6010]], device='cuda:0')\n",
      "Ground-truth box:  [ 80.  17. 125.  61.]\n",
      "0.7366056013470426\n",
      "For brand:  LinkedIn Corporation+2020-05-02-18`31`58\n",
      "Predicted box:  tensor([[603.4380,  19.5009, 755.9749,  63.3130]], device='cuda:0')\n",
      "Ground-truth box:  [595.  18. 762.  60.]\n",
      "0.8215606403168437\n",
      "For brand:  PayPal Inc.+2020-05-24-17`06`36\n",
      "Predicted box:  tensor([[ 885.9152,  124.2278, 1033.5607,  172.2351]], device='cuda:0')\n",
      "Ground-truth box:  [ 894.  125. 1034.  172.]\n",
      "0.9227186352885421\n",
      "For brand:  Etisalat+2020-05-23-15`02`19\n",
      "Predicted box:  tensor([[  86.2744,    2.5843,  186.2438,   98.6879],\n",
      "        [ 768.0214,  218.2662, 1144.2047,  280.4093],\n",
      "        [ 771.5364,  217.8293,  867.3768,  277.6578]], device='cuda:0')\n",
      "Ground-truth box:  [ 97.  -2. 178.  91.]\n",
      "0.7176919280246578\n",
      "For brand:  Amazon.com Inc.+2020-05-01-17`12`03\n",
      "Predicted box:  tensor([[625.4906,   4.6014, 743.1089,  47.6630]], device='cuda:0')\n",
      "Ground-truth box:  [624.   5. 738.  37.]\n",
      "0.7042118802311134\n",
      "For brand:  Free (ISP)+2020-05-16-06`45`08\n",
      "Predicted box:  tensor([[182.5309,   7.3603, 319.1082,  59.0148],\n",
      "        [192.9329,   9.9705, 609.6533,  57.0794],\n",
      "        [189.0295, 396.3752, 372.9025, 458.1231],\n",
      "        [306.0343, 162.1766, 540.3826, 219.4939],\n",
      "        [275.2827,  21.3927, 613.2907,  47.6671]], device='cuda:0')\n",
      "Ground-truth box:  [191.   2. 314.  56.]\n",
      "0.7755462336478972\n",
      "For brand:  SF Express Co.+2020-05-27-16`36`38\n",
      "Predicted box:  tensor([[667.8788,  15.9992, 823.1524,  83.5000],\n",
      "        [673.7488,  22.5194, 732.9199,  76.4545]], device='cuda:0')\n",
      "Ground-truth box:  [670.  23. 823.  84.]\n",
      "0.8767624276682507\n",
      "For brand:  Visa International Service Association+2020-05-19-05`29`33\n",
      "Predicted box:  tensor([[ 795.2011,  130.0394, 1074.8588,  272.1592],\n",
      "        [ 120.6001,   24.8849,  348.3948,   51.5536],\n",
      "        [ 292.7250,  152.6880,  688.6210,  203.9028],\n",
      "        [ 271.5947,  133.3646,  722.0994,  259.7104]], device='cuda:0')\n",
      "Ground-truth box:  [ 853.  194. 1043.  270.]\n",
      "0.3633170687069221\n",
      "For brand:  Deutsche Telekom+2020-05-10-17`54`08\n",
      "Predicted box:  tensor([], device='cuda:0', size=(0, 4))\n",
      "Ground-truth box:  [628. 428. 700. 465.]\n",
      "0\n",
      "For brand:  Navy Federal Credit Union+2020-05-02-15`17`38\n",
      "Predicted box:  tensor([[259.2572,  13.5268, 383.6563,  97.9821],\n",
      "        [246.3104,   8.9335, 485.0461, 105.7227]], device='cuda:0')\n",
      "Ground-truth box:  [256.   3. 485. 102.]\n",
      "0.8711034058844568\n",
      "For brand:  Discover+2020-05-15-15`31`18\n",
      "Predicted box:  tensor([[203.1654,  14.1974, 332.3723,  47.9037],\n",
      "        [200.0505,   8.3329, 448.0481,  51.4343]], device='cuda:0')\n",
      "Ground-truth box:  [200.   8. 322.  42.]\n",
      "0.6354686558713116\n",
      "For brand:  Chase Personal Banking+2020-05-04-13`11`59\n",
      "Predicted box:  tensor([[229.5647, 177.6330, 422.7357, 219.2351],\n",
      "        [586.6284,  50.3754, 781.5777,  98.6094]], device='cuda:0')\n",
      "Ground-truth box:  [582.  46. 782.  99.]\n",
      "0.8870943939929669\n",
      "For brand:  Spotify+2020-05-03-10`10`57\n",
      "Predicted box:  tensor([[ 104.8406,   13.4375,  247.5924,   64.1919],\n",
      "        [1118.2385,   13.4707, 1248.5283,   69.5943],\n",
      "        [1115.5168,   14.8107, 1173.1722,   69.3945],\n",
      "        [ 572.1260,  110.4341,  793.9216,  149.4541]], device='cuda:0')\n",
      "Ground-truth box:  [108.  13. 246.  70.]\n",
      "0.8639387965623381\n",
      "For brand:  SunTrust Bank+2020-05-25-09`36`33\n",
      "Predicted box:  tensor([[587.5126,  11.1377, 848.5568,  82.3058],\n",
      "        [588.9033,  13.4216, 667.0995,  75.2205]], device='cuda:0')\n",
      "Ground-truth box:  [591.  11. 848.  79.]\n",
      "0.9369922103169378\n",
      "For brand:  SunTrust Bank+2020-05-17-09`34`07\n",
      "Predicted box:  tensor([[284.2278, 173.5852, 551.7302, 246.6470]], device='cuda:0')\n",
      "Ground-truth box:  [290. 179. 559. 243.]\n",
      "0.8371395357547091\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "For brand:  Orange+2020-05-21-12`14`21\n",
      "Predicted box:  tensor([[ 88.0678,  13.9736, 136.6774,  64.7762],\n",
      "        [ 81.4724,  15.2379, 247.0453,  69.8566],\n",
      "        [ 46.5999, 100.2259, 287.0130, 149.1273],\n",
      "        [ 88.4953, 835.7884, 275.5054, 876.1584]], device='cuda:0')\n",
      "Ground-truth box:  [ 92.  20. 134.  63.]\n",
      "0.731323934534854\n",
      "For brand:  Apple Inc.+2020-05-25-01`21`56\n",
      "Predicted box:  tensor([[  11.5597,    7.7842,   36.2411,   34.3951],\n",
      "        [ 896.2251,  351.0987, 1018.5349,  458.6926],\n",
      "        [  10.0388,    6.6229,   53.7671,   38.1723]], device='cuda:0')\n",
      "Ground-truth box:  [12. 12. 37. 35.]\n",
      "0.7880315223569717\n",
      "For brand:  Deutsche Telekom+2020-05-30-10`30`51\n",
      "Predicted box:  tensor([[ 17.9839,  16.4220,  79.1958,  54.4604],\n",
      "        [ 19.4014,  14.4025, 308.0254,  54.9930],\n",
      "        [ 18.0047,  13.1655, 168.6317,  53.5949]], device='cuda:0')\n",
      "Ground-truth box:  [36. 10. 91. 53.]\n",
      "0.5074913335330369\n",
      "For brand:  Sparkasse Bank+2020-05-04-12`52`58\n",
      "Predicted box:  tensor([[ 16.2789,  40.4322, 225.6041, 115.0202],\n",
      "        [ 18.3692,  43.9955,  69.6411, 106.0121]], device='cuda:0')\n",
      "Ground-truth box:  [ 14.  53. 229. 113.]\n",
      "0.787250101014399\n",
      "For brand:  SF Express Co.+2020-05-27-16`28`54\n",
      "Predicted box:  tensor([[308.9518, 124.4739, 369.7080, 181.5523]], device='cuda:0')\n",
      "Ground-truth box:  [312. 130. 370. 179.]\n",
      "0.8120483651267286\n",
      "For brand:  Maersk+2020-05-21-09`23`31\n",
      "Predicted box:  tensor([[ 31.6614,  25.8557, 220.3087,  70.1148],\n",
      "        [576.7061,  97.0779, 803.1035, 126.1762],\n",
      "        [ 34.3015,  24.9553,  80.0642,  74.0377]], device='cuda:0')\n",
      "Ground-truth box:  [45. 32. 77. 68.]\n",
      "0.5128797289222274\n",
      "For brand:  AT&T Inc.+2020-05-30-12`16`09\n",
      "Predicted box:  tensor([[ 292.8763,    4.4953,  334.1376,   42.9181],\n",
      "        [ 872.6548,  181.3313, 1030.1917,  239.0105],\n",
      "        [ 290.7953,    3.3063,  373.4908,   45.0907],\n",
      "        [1590.4132,  234.7408, 1639.5103,  350.2449]], device='cuda:0')\n",
      "Ground-truth box:  [295.   7. 333.  39.]\n",
      "0.7670124311699471\n",
      "For brand:  IRS+2020-05-19-07`33`29\n",
      "Predicted box:  tensor([[111.4888,  27.8506, 264.3531,  91.5076],\n",
      "        [120.8481, 560.6404, 258.9191, 617.6647]], device='cuda:0')\n",
      "Ground-truth box:  [122.  25. 260.  90.]\n",
      "0.8471340499201103\n",
      "For brand:  Webmail Providers+2020-05-27-16`31`40\n",
      "Predicted box:  tensor([[1.4334e+03, 0.0000e+00, 1.4744e+03, 3.3982e+01],\n",
      "        [4.4669e+02, 1.0938e+00, 6.3075e+02, 3.5279e+01]], device='cuda:0')\n",
      "Ground-truth box:  [451.   7. 493.  33.]\n",
      "0.17355326080883043\n",
      "For brand:  Netflix Inc.+2020-05-14-16`48`11\n",
      "Predicted box:  tensor([[  28.3792,    9.6979,  215.0722,   75.0614],\n",
      "        [ 491.9336,  126.5822,  602.8480,  170.9530],\n",
      "        [ 953.7642,    5.1526, 1158.0945,  114.4385]], device='cuda:0')\n",
      "Ground-truth box:  [ 20.   0. 218.  73.]\n",
      "0.7964268176503342\n",
      "For brand:  Free (ISP)+2020-05-11-16`26`52\n",
      "Predicted box:  tensor([[231.7684,  24.6094, 404.8866,  92.7280],\n",
      "        [318.7990, 231.7045, 996.5090, 292.3481]], device='cuda:0')\n",
      "Ground-truth box:  [239.  20. 408. 101.]\n",
      "0.7968037360458184\n",
      "For brand:  Instagram+2020-05-13-15`36`43\n",
      "Predicted box:  tensor([[581.0991,  23.1748, 772.1959,  64.0164],\n",
      "        [588.4214,  22.3204, 636.2105,  62.2779]], device='cuda:0')\n",
      "Ground-truth box:  [661.  24. 775.  61.]\n",
      "0.5202350539635004\n",
      "For brand:  ATB Financial+2020-05-12-12`47`05\n",
      "Predicted box:  tensor([[403.2036,  53.0500, 958.4402, 112.1527],\n",
      "        [403.4390,  42.4357, 963.3982, 164.9379]], device='cuda:0')\n",
      "Ground-truth box:  [682.  52. 795. 111.]\n",
      "0.1988286634448288\n",
      "For brand:  TPG Telecom+2020-05-16-04`06`46\n",
      "Predicted box:  tensor([[167.7704,  17.9644, 295.1315,  68.9279],\n",
      "        [814.6099, 206.1782, 902.1318, 238.0914]], device='cuda:0')\n",
      "Ground-truth box:  [171.  22. 291.  63.]\n",
      "0.7580002309829974\n",
      "For brand:  Bank of America+2020-05-27-16`45`08\n",
      "Predicted box:  tensor([[319.4220,  39.9318, 615.0634,  90.3071],\n",
      "        [536.2653,  36.6941, 617.8010,  81.5163]], device='cuda:0')\n",
      "Ground-truth box:  [304.  29. 620.  84.]\n",
      "0.676988453104697\n",
      "For brand:  Mastercard International Incorporated+2020-05-30-13`53`42\n",
      "Predicted box:  tensor([[ 904.0712,    2.3487, 1015.5729,   67.4387],\n",
      "        [ 803.4600,    4.4972, 1120.7167,   94.2296],\n",
      "        [ 795.3744,   60.4345, 1126.5178,   92.5636]], device='cuda:0')\n",
      "Ground-truth box:  [ 904.    3. 1015.   68.]\n",
      "0.975913262521039\n",
      "For brand:  WeTransfer+2020-05-15-10`19`59\n",
      "Predicted box:  tensor([[ 112.9007,  190.9590,  309.5269,  225.2466],\n",
      "        [  10.9186,   11.5920,   69.8478,   45.8812],\n",
      "        [ 826.1556,    0.0000, 1306.5388,  145.8289],\n",
      "        [ 743.4650,    9.6978, 1319.0516,  508.0147],\n",
      "        [ 821.1854,    0.0000,  979.2805,  141.1974],\n",
      "        [   8.4473,   12.3589,  110.3910,   53.5848],\n",
      "        [ 771.0402,    0.0000, 1354.5293,  255.1569],\n",
      "        [ 752.2402,  140.4430,  888.3223,  302.7599]], device='cuda:0')\n",
      "Ground-truth box:  [12. 16. 66. 43.]\n",
      "0.721555040457514\n",
      "For brand:  IRS+2020-05-01-16`12`50\n",
      "Predicted box:  tensor([[111.4888,  27.8506, 264.3532,  91.5076],\n",
      "        [120.8713, 560.6885, 258.9198, 617.6184]], device='cuda:0')\n",
      "Ground-truth box:  [117.  24. 260.  98.]\n",
      "0.8120430048731377\n",
      "For brand:  RuneScape+2020-05-14-12`57`59\n",
      "Predicted box:  tensor([[ 521.6754,  235.0502,  694.7786,  311.4337],\n",
      "        [  82.4529,    1.9114,  128.8993,   36.2391],\n",
      "        [ 905.4687,   71.2527, 1105.5963,  187.9279],\n",
      "        [ 501.6065,  230.1643,  846.7313,  315.9554],\n",
      "        [ 684.6180,  250.0371,  832.0093,  299.8775],\n",
      "        [  87.5091,    4.7162,  117.7525,   30.1740]], device='cuda:0')\n",
      "Ground-truth box:  [692. 254. 833. 301.]\n",
      "0.850791335738286\n",
      "For brand:  WhatsApp+2020-05-24-20`12`48\n",
      "Predicted box:  tensor([[ 890.2359,   13.7356, 1029.0521,   56.7648],\n",
      "        [ 922.3005,   77.0579,  998.5687,  149.0385],\n",
      "        [ 886.7004,   23.2863, 1030.7756,  147.2759]], device='cuda:0')\n",
      "Ground-truth box:  [928.  84. 990. 145.]\n",
      "0.6889100263841061\n",
      "For brand:  Adobe Inc.+2020-05-07-22`34`27\n",
      "Predicted box:  tensor([[ 144.3799,   37.7501,  474.8258,  114.7283],\n",
      "        [ 145.9871,   46.3834,  205.5279,  103.9423],\n",
      "        [ 148.8038,   47.1995,  384.7415,   94.8517],\n",
      "        [ 930.1976,   53.8187, 1229.3761,   94.4630]], device='cuda:0')\n",
      "Ground-truth box:  [153.  53. 202. 101.]\n",
      "0.6862949531931861\n",
      "For brand:  Orange+2020-05-02-04`33`21\n",
      "Predicted box:  tensor([[  91.1940,   25.2707,  152.1056,   81.5582],\n",
      "        [  95.6795,  173.6627,  363.9324,  225.6359],\n",
      "        [  66.2359,   19.7384,  175.3443,   83.8276],\n",
      "        [ 913.2003,  267.5955, 1223.2983,  325.0671],\n",
      "        [  86.0942,   22.8585,  234.5888,   88.3620]], device='cuda:0')\n",
      "Ground-truth box:  [ 97.  30. 145.  78.]\n",
      "0.6720010781198547\n",
      "For brand:  Chronopost International+2020-05-02-16`55`24\n",
      "Predicted box:  tensor([[  1.6566,  31.1690, 290.0050, 108.3976],\n",
      "        [  0.0000,  33.4682,  59.7670, 106.3612]], device='cuda:0')\n",
      "Ground-truth box:  [  2.  27. 292.  97.]\n",
      "0.8030669530831015\n",
      "For brand:  Absa Group+2020-05-29-12`43`43\n",
      "Predicted box:  tensor([[  5.2409,   5.8805,  61.0504,  55.8027],\n",
      "        [  2.3819,   4.5072, 151.1671,  60.8227],\n",
      "        [154.7557,  20.3337, 268.2876,  45.0100]], device='cuda:0')\n",
      "Ground-truth box:  [ 6.  6. 57. 57.]\n",
      "0.8920833491388795\n",
      "For brand:  RuneScape+2020-05-13-14`15`54\n",
      "Predicted box:  tensor([[ 528.5126,  175.7788,  682.3461,  244.8275],\n",
      "        [ 520.9020,  177.4430,  833.4994,  249.8298],\n",
      "        [  82.4529,    1.9114,  128.8993,   36.2391],\n",
      "        [ 905.5421,   71.3183, 1105.3199,  188.0078],\n",
      "        [ 687.4445,  189.1359,  830.3466,  239.4077],\n",
      "        [  87.5091,    4.7162,  117.7525,   30.1740]], device='cuda:0')\n",
      "Ground-truth box:  [690. 192. 830. 241.]\n",
      "0.8960707156133338\n",
      "For brand:  Netflix Inc.+2020-05-12-13`08`53\n",
      "Predicted box:  tensor([[ 80.1522,   8.4293, 281.3849,  71.1984],\n",
      "        [  0.0000,   4.9401,  67.2629,  35.7576],\n",
      "        [607.2892,   5.5075, 704.0842,  89.4685]], device='cuda:0')\n",
      "Ground-truth box:  [ 88.   2. 280.  76.]\n",
      "0.8149888906409788\n",
      "For brand:  Made-In-China+2020-05-24-01`37`07\n",
      "Predicted box:  tensor([[522.4207,  33.1126, 769.2701,  86.6188],\n",
      "        [579.0130, 147.8474, 910.4944, 260.0478],\n",
      "        [524.9835,  32.4832, 586.4550,  88.2078]], device='cuda:0')\n",
      "Ground-truth box:  [524.  32. 789.  92.]\n",
      "0.8210132854995432\n",
      "For brand:  Global Sources (HK)+2020-05-11-15`48`14\n",
      "Predicted box:  tensor([[277.6941,  19.1258, 553.5167,  71.3865],\n",
      "        [286.8027,  20.7714, 384.6713,  67.5365]], device='cuda:0')\n",
      "Ground-truth box:  [284.  13. 558.  78.]\n",
      "0.7764874074889043\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "For brand:  Facebook, Inc.+2020-05-29-14`40`09\n",
      "Predicted box:  tensor([[659.5119,   5.9286, 746.7961,  32.3280]], device='cuda:0')\n",
      "Ground-truth box:  [661.   2. 750.  32.]\n",
      "0.8171263817459301\n",
      "For brand:  DGI (French Tax Authority)+2020-05-29-13`56`31\n",
      "Predicted box:  tensor([[380.5260,  22.6252, 783.7689,  97.7377],\n",
      "        [388.5269,  34.1286, 480.4644,  93.8197],\n",
      "        [487.3367,  30.1824, 781.7752,  81.4857]], device='cuda:0')\n",
      "Ground-truth box:  [391.  38. 475.  99.]\n",
      "0.7916353441824693\n",
      "For brand:  Banco do Brasil S.A.+2020-05-22-11`11`55\n",
      "Predicted box:  tensor([[ 443.9691,   58.2727,  528.0901,  130.6073],\n",
      "        [1112.1462,  117.8331, 1505.1599,  440.5613],\n",
      "        [ 496.7998,  307.6639,  823.9971,  359.1173]], device='cuda:0')\n",
      "Ground-truth box:  [455.  63. 514. 123.]\n",
      "0.5817720996262661\n",
      "For brand:  Absa Group+2020-05-18-15`05`06\n",
      "Predicted box:  tensor([[  6.7630,   7.4718,  58.0643,  55.3027],\n",
      "        [  0.0000,   4.5043,  99.4475,  59.3122],\n",
      "        [  1.2576,   2.5327, 195.9411,  60.6504]], device='cuda:0')\n",
      "Ground-truth box:  [ 6.  8. 56. 55.]\n",
      "0.9295046215159749\n",
      "For brand:  Google Inc.+2020-05-27-13`47`14\n",
      "Predicted box:  tensor([[  24.6182,    6.9731,  233.3244,   60.8920],\n",
      "        [1168.4622,   96.2790, 1596.7562,  270.5026],\n",
      "        [1169.4178,   96.4151, 1593.6438,  166.5301]], device='cuda:0')\n",
      "Ground-truth box:  [ 24.   7. 152.  56.]\n",
      "0.5531717819072275\n",
      "For brand:  ATB Financial+2020-05-16-21`16`51\n",
      "Predicted box:  tensor([[412.3709,  55.8312, 969.1015, 113.5984],\n",
      "        [232.7934, 181.3083, 400.6838, 233.5505],\n",
      "        [419.1812,  60.7190, 633.0993, 108.2366]], device='cuda:0')\n",
      "Ground-truth box:  [679.  52. 794. 112.]\n",
      "0.19813329082482528\n",
      "For brand:  Chronopost International+2020-05-02-03`49`17\n",
      "Predicted box:  tensor([[  1.6566,  31.1690, 290.0050, 108.3976],\n",
      "        [  0.0000,  33.4682,  59.7670, 106.3612]], device='cuda:0')\n",
      "Ground-truth box:  [  0.  34. 295.  95.]\n",
      "0.7757286882553013\n",
      "For brand:  Apple Inc.+2020-05-24-11`09`24\n",
      "Predicted box:  tensor([[  11.5597,    7.7842,   36.2411,   34.3951],\n",
      "        [ 896.2251,  351.0987, 1018.5349,  458.6926],\n",
      "        [  10.0388,    6.6229,   53.7671,   38.1723]], device='cuda:0')\n",
      "Ground-truth box:  [10. 10. 38. 36.]\n",
      "0.7692791768339177\n",
      "For brand:  AutoScout24+2020-05-16-21`35`56\n",
      "Predicted box:  tensor([[143.0819,   9.7110, 302.1989,  53.8914],\n",
      "        [144.4403,  11.4316, 211.2719,  53.6271]], device='cuda:0')\n",
      "Ground-truth box:  [142.   8. 304.  56.]\n",
      "0.9040465567978113\n",
      "For brand:  Landesbank Berlin AG+2020-05-01-21`38`43\n",
      "Predicted box:  tensor([[  25.0269,   13.2471,   99.3968,   50.2199],\n",
      "        [  18.9894,    9.3565,  212.4357,   50.2211],\n",
      "        [1232.6115,   43.1108, 1349.4552,  156.0766],\n",
      "        [ 108.3115,   15.2685,  207.5684,   49.0241]], device='cuda:0')\n",
      "Ground-truth box:  [ 39.  16. 210.  53.]\n",
      "0.6982813357086092\n",
      "For brand:  ATB Financial+2020-05-01-12`23`19\n",
      "Predicted box:  tensor([[401.3281,  54.7278, 950.5246, 117.9840],\n",
      "        [408.6438,  38.1814, 953.8977, 188.4084]], device='cuda:0')\n",
      "Ground-truth box:  [688.  48. 790. 110.]\n",
      "0.15914058836043218\n",
      "For brand:  SOCIETE FRANCAISE DU RADIOTELEPHONE+2020-05-19-09`46`54\n",
      "Predicted box:  tensor([[  19.4624,    6.8578,   77.4563,   62.5087],\n",
      "        [  19.7495,    5.8995,  137.9271,   64.1591],\n",
      "        [ 307.1635,  205.3277,  376.4829,  287.0734],\n",
      "        [ 244.0946,  190.1943,  419.8719,  309.8635],\n",
      "        [1093.4764,   11.7561, 1123.2296,   43.5756]], device='cuda:0')\n",
      "Ground-truth box:  [22. 11. 75. 60.]\n",
      "0.8046686179547244\n",
      "For brand:  Cox Communications+2020-05-16-20`18`03\n",
      "Predicted box:  tensor([[302.1958,  46.5996, 373.2365,  77.1287]], device='cuda:0')\n",
      "Ground-truth box:  [306.  48. 376.  77.]\n",
      "0.8670083479584034\n",
      "For brand:  Microsoft OneDrive+2020-05-02-23`24`50\n",
      "Predicted box:  tensor([[ 59.5192,   4.6701, 186.5954,  42.3064],\n",
      "        [557.1025, 482.5206, 805.5461, 606.3917],\n",
      "        [ 64.1475,  63.0648, 176.7004,  99.6534]], device='cuda:0')\n",
      "Ground-truth box:  [ 51.   0. 188.  44.]\n",
      "0.7934104694838546\n",
      "For brand:  Desjardins+2020-05-18-10`38`43\n",
      "Predicted box:  tensor([[210.6902,   8.5226, 371.1074,  53.1393],\n",
      "        [347.8239,   6.0415, 625.2678,  55.5821],\n",
      "        [397.8985,   9.1550, 516.4576,  50.3805],\n",
      "        [218.8916,   6.2573, 491.6992,  55.8322],\n",
      "        [503.2659,   9.0267, 626.9371,  53.5263],\n",
      "        [167.6665,   3.8892, 674.5367,  61.0556],\n",
      "        [209.6894,  11.8656, 246.7692,  49.1142]], device='cuda:0')\n",
      "Ground-truth box:  [205.   9. 373.  57.]\n",
      "0.8698041671552387\n",
      "For brand:  PayPal Inc.+2020-05-30-15`46`13\n",
      "Predicted box:  tensor([[ 885.9152,  124.2278, 1033.5607,  172.2351]], device='cuda:0')\n",
      "Ground-truth box:  [ 891.  126. 1036.  171.]\n",
      "0.8912709909884129\n",
      "For brand:  Alibaba+2020-05-24-15`01`39\n",
      "Predicted box:  tensor([[358.1754,  29.0413, 557.2681,  74.6954]], device='cuda:0')\n",
      "Ground-truth box:  [358.  32. 552.  73.]\n",
      "0.8736020986882235\n",
      "For brand:  Global Sources (HK)+2020-05-10-23`27`12\n",
      "Predicted box:  tensor([[285.9850,   0.9850, 522.5623,  44.0112]], device='cuda:0')\n",
      "Ground-truth box:  [283.   0. 532.  58.]\n",
      "0.7048197704456447\n",
      "For brand:  Navy Federal Credit Union+2020-05-25-14`53`27\n",
      "Predicted box:  tensor([[183.9906,   8.7427, 315.5952,  88.5319],\n",
      "        [171.7617,   5.9034, 419.5649,  94.5012]], device='cuda:0')\n",
      "Ground-truth box:  [176.   5. 449.  92.]\n",
      "0.84776605194571\n",
      "For brand:  Bank of America+2020-05-18-15`39`21\n",
      "Predicted box:  tensor([[118.5037,  13.4945, 359.7247,  52.2094],\n",
      "        [123.5861,  85.5943, 418.4829, 155.5981]], device='cuda:0')\n",
      "Ground-truth box:  [120.   8. 365.  58.]\n",
      "0.7540592398565676\n",
      "For brand:  Apple Inc.+2020-05-27-11`16`37\n",
      "Predicted box:  tensor([[  11.5597,    7.7842,   36.2411,   34.3951],\n",
      "        [ 896.2251,  351.0987, 1018.5349,  458.6926],\n",
      "        [  10.0388,    6.6229,   53.7671,   38.1723]], device='cuda:0')\n",
      "Ground-truth box:  [ 8. 10. 39. 38.]\n",
      "0.6525560114228602\n",
      "For brand:  WhatsApp+2020-05-01-17`45`55\n",
      "Predicted box:  tensor([[616.1248,  14.3202, 747.3361,  55.0178],\n",
      "        [646.4371,  80.8523, 719.0814, 150.1968],\n",
      "        [620.1475,  45.5191, 742.8002, 148.8265]], device='cuda:0')\n",
      "Ground-truth box:  [655.  83. 712. 145.]\n",
      "0.7015413161414114\n",
      "For brand:  Netflix Inc.+2020-05-10-17`00`56\n",
      "Predicted box:  tensor([[  31.5111,   10.2627,  211.3202,   72.2884],\n",
      "        [ 957.0651,  713.0061, 1091.9885,  772.7358]], device='cuda:0')\n",
      "Ground-truth box:  [ 29.   6. 210.  76.]\n",
      "0.8681773172854133\n",
      "For brand:  Facebook, Inc.+2020-05-23-16`02`28\n",
      "Predicted box:  tensor([[ 891.0988,    1.6926, 1027.4275,   42.4625]], device='cuda:0')\n",
      "Ground-truth box:  [ 892.    5. 1033.   38.]\n",
      "0.7783201324756229\n",
      "For brand:  Bank of The Bahamas Limited+2020-05-16-11`19`11\n",
      "Predicted box:  tensor([[  13.3838,   40.1469,  224.4721,  137.9048],\n",
      "        [ 169.1419,  157.0552, 1208.2579,  270.3390],\n",
      "        [ 695.5411,  162.2618, 1181.7719,  266.6138],\n",
      "        [ 214.2291,  162.1579,  468.0729,  266.4148]], device='cuda:0')\n",
      "Ground-truth box:  [  7.  46. 226. 143.]\n",
      "0.8630479619592885\n",
      "For brand:  Itau Unibanco S.A+2020-05-02-14`34`44\n",
      "Predicted box:  tensor([[112.8217,  59.9703, 176.8481, 121.5298],\n",
      "        [110.1178,  53.4639, 359.1848, 124.5374]], device='cuda:0')\n",
      "Ground-truth box:  [120.  67. 169. 118.]\n",
      "0.6340331037035415\n",
      "For brand:  Facebook, Inc.+2020-05-24-06`30`41\n",
      "Predicted box:  tensor([[ 891.0988,    1.6926, 1027.4275,   42.4625]], device='cuda:0')\n",
      "Ground-truth box:  [ 888.    3. 1035.   38.]\n",
      "0.8044217382142729\n",
      "For brand:  Webmail Providers+2020-05-02-05`01`38\n",
      "Predicted box:  tensor([[1.5697e+02, 2.8344e-01, 3.6021e+02, 3.7486e+01],\n",
      "        [1.1624e+03, 7.5155e-01, 1.2062e+03, 3.7006e+01],\n",
      "        [1.6420e+02, 2.4600e+00, 2.0983e+02, 3.3044e+01]], device='cuda:0')\n",
      "Ground-truth box:  [170.   6. 207.  31.]\n",
      "0.6627525014986463\n",
      "For brand:  Sparkasse Bank+2020-05-01-15`08`04\n",
      "Predicted box:  tensor([[  2.1877,  11.6850, 209.4636,  83.9099],\n",
      "        [ 12.0806,  22.5448, 128.9923,  61.1780],\n",
      "        [428.6598,   8.0487, 668.2568,  91.4442],\n",
      "        [500.5068,  30.6790, 659.1389,  91.0495]], device='cuda:0')\n",
      "Ground-truth box:  [ 12.  23. 134.  63.]\n",
      "0.9047762934904738\n",
      "For brand:  Visa International Service Association+2020-05-08-00`07`03\n",
      "Predicted box:  tensor([[ 795.2011,  130.0394, 1074.8588,  272.1592],\n",
      "        [ 120.6001,   24.8849,  348.3948,   51.5536],\n",
      "        [ 292.7250,  152.6880,  688.6210,  203.9028],\n",
      "        [ 271.5947,  133.3646,  722.0994,  259.7104]], device='cuda:0')\n",
      "Ground-truth box:  [ 853.  202. 1046.  269.]\n",
      "0.3253499318178123\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "For brand:  Amazon.com Inc.+2020-05-27-11`22`19\n",
      "Predicted box:  tensor([[ 896.9037,    4.3584, 1020.5271,   48.4277]], device='cuda:0')\n",
      "Ground-truth box:  [ 897.    3. 1016.   39.]\n",
      "0.7348690501102298\n",
      "For brand:  SOCIETE FRANCAISE DU RADIOTELEPHONE+2020-05-19-10`31`37\n",
      "Predicted box:  tensor([[  19.4624,    6.8578,   77.4563,   62.5087],\n",
      "        [  19.7495,    5.8995,  137.9271,   64.1591],\n",
      "        [ 307.1635,  205.3277,  376.4829,  287.0734],\n",
      "        [ 244.0946,  190.1943,  419.8719,  309.8635],\n",
      "        [1093.4764,   11.7561, 1123.2296,   43.5756]], device='cuda:0')\n",
      "Ground-truth box:  [22. 10. 74. 59.]\n",
      "0.7894861912008617\n",
      "For brand:  Netflix Inc.+2020-05-12-13`54`30\n",
      "Predicted box:  tensor([[ 31.1636,  12.7346, 220.4907,  79.2534],\n",
      "        [349.7369,  46.7867, 511.8544,  84.5991]], device='cuda:0')\n",
      "Ground-truth box:  [ 27.   5. 225.  90.]\n",
      "0.7482950494233243\n",
      "For brand:  Netflix Inc.+2020-05-16-20`21`20\n",
      "Predicted box:  tensor([[  28.3792,    9.6979,  215.0722,   75.0614],\n",
      "        [ 491.9336,  126.5822,  602.8480,  170.9530],\n",
      "        [ 953.7642,    5.1526, 1158.0945,  114.4385]], device='cuda:0')\n",
      "Ground-truth box:  [ 28.   6. 218.  80.]\n",
      "0.8679167336510218\n",
      "For brand:  Adobe Inc.+2020-05-24-05`00`28\n",
      "Predicted box:  tensor([[1.8120e+02, 1.5690e+00, 2.5895e+02, 1.1504e+02],\n",
      "        [1.1537e+02, 0.0000e+00, 2.7215e+02, 1.1732e+02],\n",
      "        [1.5054e+03, 1.3163e+01, 1.6799e+03, 6.1369e+01]], device='cuda:0')\n",
      "Ground-truth box:  [186.   2. 254. 114.]\n",
      "0.8631825023734039\n",
      "For brand:  SF Express Co.+2020-05-23-18`05`42\n",
      "Predicted box:  tensor([[2.8904e+02, 2.2912e+00, 4.9943e+02, 5.4761e+01],\n",
      "        [5.6255e+02, 1.3164e+01, 9.8538e+02, 4.3820e+01],\n",
      "        [2.9606e+02, 3.8238e+00, 3.4816e+02, 5.3454e+01],\n",
      "        [2.9314e+02, 1.8084e+00, 3.9448e+02, 5.2144e+01],\n",
      "        [8.6858e+02, 6.1218e+01, 1.2532e+03, 2.5608e+02],\n",
      "        [3.7908e+02, 1.1441e+00, 9.8430e+02, 5.0705e+01]], device='cuda:0')\n",
      "Ground-truth box:  [298.   6. 351.  57.]\n",
      "0.8184382639304654\n",
      "For brand:  Google Inc.+2020-05-21-09`43`46\n",
      "Predicted box:  tensor([[ 37.1761,   8.7970, 166.2029,  57.3236],\n",
      "        [180.5715, 151.2114, 396.6302, 302.1090]], device='cuda:0')\n",
      "Ground-truth box:  [ 38.   9. 170.  55.]\n",
      "0.9163192906054982\n",
      "For brand:  Navy Federal Credit Union+2020-05-25-19`36`02\n",
      "Predicted box:  tensor([[191.5152,  15.3897, 327.7055, 102.0358]], device='cuda:0')\n",
      "Ground-truth box:  [200.  10. 429. 108.]\n",
      "0.4774176424995945\n",
      "For brand:  T-Online+2020-05-09-14`35`20\n",
      "Predicted box:  tensor([[ 189.0662,   22.0380,  264.1137,   67.3736],\n",
      "        [1006.1437,   26.9020, 1178.1149,   55.6058],\n",
      "        [ 483.4535,  209.0277,  887.1916,  259.7943],\n",
      "        [ 165.4675,   17.1533,  284.4449,   81.0564]], device='cuda:0')\n",
      "Ground-truth box:  [185.  22. 264.  69.]\n",
      "0.9136711206253009\n",
      "For brand:  Chronopost International+2020-05-08-01`28`15\n",
      "Predicted box:  tensor([[  1.6566,  31.1690, 290.0050, 108.3976],\n",
      "        [  0.0000,  33.4682,  59.7670, 106.3612]], device='cuda:0')\n",
      "Ground-truth box:  [  2.  29. 292.  97.]\n",
      "0.8232926381809156\n",
      "For brand:  Americanas.com S,A Comercio Electrnico+2020-05-31-09`48`07\n",
      "Predicted box:  tensor([[ 309.1105,   62.3529,  550.0246,  116.2725],\n",
      "        [ 772.0170,    1.9239, 1095.5566,   50.3335],\n",
      "        [ 405.5058,    2.4005, 1080.5396,   52.8076],\n",
      "        [ 782.7944,    0.0000,  842.0615,   53.5559],\n",
      "        [ 400.7845,    4.6008,  799.6926,   45.9338]], device='cuda:0')\n",
      "Ground-truth box:  [314.  67. 543. 115.]\n",
      "0.8461889304883348\n",
      "For brand:  eBay Inc.+2020-05-02-15`05`27\n",
      "Predicted box:  tensor([[  9.6820,  20.9172, 105.5970,  63.7740],\n",
      "        [634.3904, 111.8983, 732.7969, 152.5119],\n",
      "        [636.7969, 789.5509, 722.8219, 831.0992]], device='cuda:0')\n",
      "Ground-truth box:  [  7.  22. 103.  60.]\n",
      "0.8417948619971342\n",
      "For brand:  DHL Airways, Inc.+2020-05-02-17`36`44\n",
      "Predicted box:  tensor([[236.7502,   9.5552, 369.1559,  43.7040],\n",
      "        [239.2383,  54.6653, 320.1823,  86.5454]], device='cuda:0')\n",
      "Ground-truth box:  [233.   7. 370.  42.]\n",
      "0.8556481958603533\n",
      "For brand:  eBay Inc.+2020-05-15-20`50`35\n",
      "Predicted box:  tensor([[ 621.0439,   27.2698,  747.6523,   84.5899],\n",
      "        [1024.2388,  634.4826, 1114.1500,  680.6317]], device='cuda:0')\n",
      "Ground-truth box:  [613.  22. 749.  86.]\n",
      "0.8337788687885344\n",
      "For brand:  Wells Fargo & Company+2020-05-19-10`30`30\n",
      "Predicted box:  tensor([[188.8292,   7.6343, 425.1718,  48.9166]], device='cuda:0')\n",
      "Ground-truth box:  [180.   0. 434.  56.]\n",
      "0.6859378175805673\n",
      "For brand:  Facebook, Inc.+2020-05-22-22`44`20\n",
      "Predicted box:  tensor([[ 915.1270,    7.7785, 1005.1276,   36.9819],\n",
      "        [  36.8858,   50.0390,  185.5511,   68.4107]], device='cuda:0')\n",
      "Ground-truth box:  [ 914.    7. 1010.   43.]\n",
      "0.7605101027675456\n",
      "For brand:  PostFinance+2020-05-11-16`57`36\n",
      "Predicted box:  tensor([[497.6574,  14.1517, 670.4377,  73.5595]], device='cuda:0')\n",
      "Ground-truth box:  [504.  19. 666.  70.]\n",
      "0.8049108921436818\n",
      "For brand:  BT Group plc+2020-05-05-12`47`22\n",
      "Predicted box:  tensor([[245.6402,   6.3816, 417.7621,  67.0976],\n",
      "        [249.0695,  11.7275, 303.7637,  65.1967],\n",
      "        [233.6586,  10.9408, 333.4273,  71.2719]], device='cuda:0')\n",
      "Ground-truth box:  [240.   7. 313.  65.]\n",
      "0.6864216597022033\n",
      "For brand:  SunTrust Bank+2020-05-02-02`40`09\n",
      "Predicted box:  tensor([[575.6967,   3.9680, 803.0023,  61.9524],\n",
      "        [382.1226,  91.0997, 467.1349, 113.0855]], device='cuda:0')\n",
      "Ground-truth box:  [576.   7. 804.  62.]\n",
      "0.94175193394865\n",
      "For brand:  Made-In-China+2020-05-24-04`08`44\n",
      "Predicted box:  tensor([[483.5490,  50.4411, 699.4995, 100.8669]], device='cuda:0')\n",
      "Ground-truth box:  [487.  55. 711. 116.]\n",
      "0.6582585449898538\n",
      "For brand:  Deutsche Telekom+2020-05-01-11`26`48\n",
      "Predicted box:  tensor([[584.4601, 109.5576, 784.3696, 178.7623],\n",
      "        [583.9706,  97.3453, 788.5770, 256.8234],\n",
      "        [592.7324, 201.4928, 776.8434, 260.1373]], device='cuda:0')\n",
      "Ground-truth box:  [597. 199. 689. 256.]\n",
      "0.4547851930595198\n",
      "For brand:  Itau Unibanco S.A+2020-05-13-11`25`41\n",
      "Predicted box:  tensor([[ 13.1475,   7.7399, 216.5988,  64.6931]], device='cuda:0')\n",
      "Ground-truth box:  [  4.  10. 232.  70.]\n",
      "0.7869528941533643\n",
      "For brand:  CenturyLink+2020-05-30-16`33`58\n",
      "Predicted box:  tensor([[807.8026,  11.7720, 974.2991,  54.7795],\n",
      "        [812.3802,  11.5719, 856.3889,  54.9571]], device='cuda:0')\n",
      "Ground-truth box:  [806.   5. 974.  50.]\n",
      "0.7593205179581817\n",
      "For brand:  Daum+2020-05-30-14`00`54\n",
      "Predicted box:  tensor([[621.9305,  15.0821, 742.1011,  73.0630]], device='cuda:0')\n",
      "Ground-truth box:  [623.  24. 743.  63.]\n",
      "0.663311850492356\n",
      "For brand:  Alibaba+2020-05-25-00`38`08\n",
      "Predicted box:  tensor([[357.8878,  28.8056, 557.3223,  74.8186],\n",
      "        [457.6718, 323.0233, 651.9579, 374.5500],\n",
      "        [443.3668, 327.4561, 795.1817, 431.6343]], device='cuda:0')\n",
      "Ground-truth box:  [357.  34. 553.  74.]\n",
      "0.847200274173113\n",
      "For brand:  International Card Services B.V+2020-05-19-02`23`27\n",
      "Predicted box:  tensor([[193.7717,   2.9290, 326.1638,  59.0053]], device='cuda:0')\n",
      "Ground-truth box:  [192.   1. 335.  66.]\n",
      "0.7987154415949538\n",
      "For brand:  Amazon.com Inc.+2020-05-15-13`47`18\n",
      "Predicted box:  tensor([[ 610.0021,    3.3208,  757.3458,   48.7097],\n",
      "        [ 609.7825,  125.5283,  757.6259,  170.7532],\n",
      "        [ 900.8710,  291.9385, 1234.9631,  514.9680],\n",
      "        [ 625.0138,  506.8653,  741.1564,  567.7901]], device='cuda:0')\n",
      "Ground-truth box:  [606. 123. 754. 163.]\n",
      "0.7503454134990064\n",
      "For brand:  Banco del Estado de Chile+2020-05-03-00`01`40\n",
      "Predicted box:  tensor([[ 274.3691,   15.7080,  491.0805,   70.4088],\n",
      "        [ 958.8857,   26.3960, 1161.3151,   65.3433],\n",
      "        [ 284.5855,   20.5382,  329.0309,   65.7517],\n",
      "        [ 609.4619,  111.7559,  822.3831,  274.7360],\n",
      "        [ 342.8050,  597.5379,  422.4270,  642.2819]], device='cuda:0')\n",
      "Ground-truth box:  [278.  12. 492.  71.]\n",
      "0.9088515883599149\n",
      "For brand:  Chase Personal Banking+2020-05-08-02`20`46\n",
      "Predicted box:  tensor([[582.0765,   4.0494, 772.0814,  55.1745],\n",
      "        [469.9527, 184.8728, 757.5327, 213.6639]], device='cuda:0')\n",
      "Ground-truth box:  [577.   7. 771.  56.]\n",
      "0.8994512216588088\n",
      "For brand:  Netflix Inc.+2020-05-04-11`03`28\n",
      "Predicted box:  tensor([[  22.1571,   19.5505,  265.8651,  108.0029],\n",
      "        [1017.0876,   71.4448, 1175.2079,  171.6680],\n",
      "        [  48.1814,   36.7789,  230.3701,   84.0625]], device='cuda:0')\n",
      "Ground-truth box:  [ 26.  15. 280.  92.]\n",
      "0.732127713303045\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "For brand:  Match+2020-05-19-05`54`28\n",
      "Predicted box:  tensor([[196.5200,   5.3523, 313.4190,  47.4033]], device='cuda:0')\n",
      "Ground-truth box:  [195.   7. 316.  49.]\n",
      "0.8954394098445633\n",
      "For brand:  AT&T Inc.+2020-05-17-10`03`04\n",
      "Predicted box:  tensor([[0.0000e+00, 2.4551e-01, 1.2043e+02, 5.1759e+01],\n",
      "        [5.2516e+02, 8.0857e+01, 8.4281e+02, 1.3257e+02]], device='cuda:0')\n",
      "Ground-truth box:  [  0.   0. 126.  45.]\n",
      "0.8312604046139632\n",
      "For brand:  AutoScout24+2020-05-09-12`41`43\n",
      "Predicted box:  tensor([[143.0819,   9.7110, 302.1989,  53.8914],\n",
      "        [144.4403,  11.4316, 211.2719,  53.6271]], device='cuda:0')\n",
      "Ground-truth box:  [139.  14. 300.  54.]\n",
      "0.8681748190618799\n",
      "For brand:  Orange+2020-05-21-10`27`02\n",
      "Predicted box:  tensor([[  88.8031,   15.6786,  136.3791,   61.1339],\n",
      "        [ 995.0357,  125.8849, 1253.3192,  188.0302],\n",
      "        [  87.8391,  103.5325,  322.1375,  149.7696],\n",
      "        [  81.6706,   12.4780,  160.0033,   67.7653]], device='cuda:0')\n",
      "Ground-truth box:  [ 90.  18. 132.  59.]\n",
      "0.7962714477325298\n",
      "For brand:  Google Inc.+2020-05-27-11`20`19\n",
      "Predicted box:  tensor([[ 918.5532,  101.6380,  997.3751,  132.9663],\n",
      "        [ 897.6555,   93.9612, 1020.3049,  137.0211]], device='cuda:0')\n",
      "Ground-truth box:  [ 912.  101. 1008.  137.]\n",
      "0.7145133033902182\n",
      "For brand:  Wells Fargo & Company+2020-05-17-08`06`22\n",
      "Predicted box:  tensor([[185.4086,   6.3819, 437.4182,  52.2449],\n",
      "        [195.6376,  65.8523, 274.5168,  95.7219]], device='cuda:0')\n",
      "Ground-truth box:  [184.   0. 437.  57.]\n",
      "0.7990703865803555\n",
      "For brand:  Cairo Amman Bank+2020-05-27-17`18`13\n",
      "Predicted box:  tensor([[ 50.4223,  28.5956, 400.4340, 124.5767],\n",
      "        [ 56.9967,  34.5296, 137.4201, 120.3903],\n",
      "        [399.2047, 149.9299, 726.9985, 225.5869]], device='cuda:0')\n",
      "Ground-truth box:  [ 56.  27. 401. 118.]\n",
      "0.9005229141752337\n",
      "For brand:  Americanas.com S,A Comercio Electrnico+2020-05-25-02`57`29\n",
      "Predicted box:  tensor([[ 309.3640,   62.4993,  550.1595,  116.3963],\n",
      "        [ 772.0989,    1.9229, 1095.5925,   50.3463],\n",
      "        [ 782.7832,    0.0000,  842.0593,   53.5619],\n",
      "        [ 404.8181,    2.2198, 1086.6123,   52.9731],\n",
      "        [ 400.9055,    4.5541,  799.9357,   45.9249],\n",
      "        [ 317.0258,   73.5640,  509.0723,  106.0323]], device='cuda:0')\n",
      "Ground-truth box:  [314.  71. 540. 114.]\n",
      "0.748797613198901\n",
      "For brand:  Yahoo! Inc+2020-05-12-13`49`22\n",
      "Predicted box:  tensor([[  91.6068,    4.8420,  221.8420,   46.7621],\n",
      "        [ 959.4462,   96.1011, 1059.8368,  131.9633]], device='cuda:0')\n",
      "Ground-truth box:  [ 91.   8. 221.  50.]\n",
      "0.8495298339972994\n",
      "For brand:  TPG Telecom+2020-05-14-22`18`49\n",
      "Predicted box:  tensor([[215.8039,  66.9278, 333.0114, 110.8984],\n",
      "        [391.5060, 173.7007, 473.4630, 256.5323],\n",
      "        [249.7344, 159.1012, 793.2757, 275.4517]], device='cuda:0')\n",
      "Ground-truth box:  [216.  70. 337. 115.]\n",
      "0.8232398061012726\n",
      "For brand:  Chase Personal Banking+2020-05-10-21`34`32\n",
      "Predicted box:  tensor([[298.7990,  15.1536, 450.4485,  57.5487]], device='cuda:0')\n",
      "Ground-truth box:  [302.  17. 447.  57.]\n",
      "0.9021359031713936\n",
      "For brand:  Citrix ShareFile+2020-05-03-11`13`40\n",
      "Predicted box:  tensor([[410.6906,  78.3092, 647.6483, 201.4667],\n",
      "        [498.3121,  82.4506, 556.2871, 144.9110],\n",
      "        [465.6085,  78.7366, 594.5418, 186.9142],\n",
      "        [415.6106, 139.6696, 639.2945, 199.8402],\n",
      "        [479.4488, 562.0133, 589.8155, 604.2698],\n",
      "        [361.3404,  72.8586, 706.0694, 270.6726]], device='cuda:0')\n",
      "Ground-truth box:  [406.  79. 655. 198.]\n",
      "0.9210160159385368\n",
      "For brand:  DocuSign+2020-05-29-13`36`20\n",
      "Predicted box:  tensor([[359.5213, 267.2773, 625.3271, 358.3040]], device='cuda:0')\n",
      "Ground-truth box:  [352. 278. 627. 357.]\n",
      "0.8425827408727046\n",
      "For brand:  Outlook+2020-05-06-12`10`04\n",
      "Predicted box:  tensor([[ 629.1362,  161.4705, 1063.7146,  234.6621],\n",
      "        [  93.0043,  207.4344,  248.2621,  328.0645]], device='cuda:0')\n",
      "Ground-truth box:  [ 94. 213. 253. 326.]\n",
      "0.904872897749839\n",
      "For brand:  Webmail Providers+2020-05-02-15`30`28\n",
      "Predicted box:  tensor([[1.7364e+02, 2.5689e+00, 3.4788e+02, 3.6196e+01],\n",
      "        [1.1545e+03, 9.6423e-01, 1.1938e+03, 3.6210e+01],\n",
      "        [1.7389e+02, 1.8713e+00, 2.1881e+02, 3.4090e+01],\n",
      "        [2.7652e+01, 9.2538e-01, 3.9255e+02, 3.7078e+01]], device='cuda:0')\n",
      "Ground-truth box:  [181.   6. 215.  31.]\n",
      "0.5872553438146821\n",
      "For brand:  Spotify+2020-05-01-11`58`03\n",
      "Predicted box:  tensor([[523.6841,  18.5344, 731.3026,  85.7564],\n",
      "        [523.9391,  18.6287, 592.8275,  86.0754]], device='cuda:0')\n",
      "Ground-truth box:  [523.  16. 733.  84.]\n",
      "0.9281109406826887\n",
      "For brand:  eBay Inc.+2020-05-02-06`45`40\n",
      "Predicted box:  tensor([[  9.6820,  20.9172, 105.5970,  63.7740],\n",
      "        [634.3904, 111.8983, 732.7969, 152.5119],\n",
      "        [636.7969, 789.5509, 722.8219, 831.0992]], device='cuda:0')\n",
      "Ground-truth box:  [  1.  23. 106.  60.]\n",
      "0.7980768669152938\n",
      "For brand:  Sparkasse Bank+2020-05-09-12`57`05\n",
      "Predicted box:  tensor([[ 188.3757,   12.5521,  401.3793,   89.7934],\n",
      "        [ 200.8585,   22.0837,  336.0748,   71.8775],\n",
      "        [ 507.9589,    2.4573,  601.6973,  106.2115],\n",
      "        [ 970.0127,   11.8278, 1163.1949,   54.3178],\n",
      "        [ 511.4968,    1.9560,  845.4835,  108.8955],\n",
      "        [1062.2764,   90.1324, 1177.7932,  134.7044],\n",
      "        [ 602.8209,    3.8874,  727.4646,   61.3854]], device='cuda:0')\n",
      "Ground-truth box:  [204.  25. 326.  69.]\n",
      "0.7972754005442728\n",
      "For brand:  Dropbox, Inc.+2020-05-02-04`54`46\n",
      "Predicted box:  tensor([[184.1932,  11.6329, 233.7493,  58.1237],\n",
      "        [323.9359, 138.8618, 498.7421, 327.8730],\n",
      "        [277.6483, 119.2610, 563.1425, 443.3423],\n",
      "        [681.1785, 126.3923, 995.7827, 171.1521],\n",
      "        [716.6219, 254.3893, 831.3064, 308.0095],\n",
      "        [178.0144,   9.4513, 314.2431,  61.0879]], device='cuda:0')\n",
      "Ground-truth box:  [182.  11. 237.  56.]\n",
      "0.8521137914381796\n",
      "For brand:  Yahoo! Inc+2020-05-21-20`54`47\n",
      "Predicted box:  tensor([[1231.0602,  103.4260, 1358.6617,  145.8632]], device='cuda:0')\n",
      "Ground-truth box:  [1230.  104. 1363.  148.]\n",
      "0.9015338777271354\n",
      "For brand:  Banco do Brasil S.A.+2020-05-27-16`30`11\n",
      "Predicted box:  tensor([[321.2359,   3.0608, 370.6960,  47.1156],\n",
      "        [369.2132,   4.5852, 596.8016,  44.7776]], device='cuda:0')\n",
      "Ground-truth box:  [325.   3. 367.  44.]\n",
      "0.7881914263557273\n",
      "For brand:  ING+2020-05-05-12`51`20\n",
      "Predicted box:  tensor([[  65.5454,    9.9702,  165.3923,   57.4505],\n",
      "        [ 997.1570,   17.5895, 1207.9855,   46.6743],\n",
      "        [ 734.8712,  500.6386,  853.1065,  553.7333],\n",
      "        [ 253.2014,  155.5056,  507.8930,  259.9596]], device='cuda:0')\n",
      "Ground-truth box:  [ 62.   9. 167.  57.]\n",
      "0.9234613345975844\n",
      "For brand:  Google Inc.+2020-05-24-14`39`54\n",
      "Predicted box:  tensor([[ 918.5532,  101.6380,  997.3751,  132.9663],\n",
      "        [ 897.6555,   93.9612, 1020.3049,  137.0211]], device='cuda:0')\n",
      "Ground-truth box:  [ 909.   96. 1010.  133.]\n",
      "0.7075943607424585\n",
      "For brand:  Wells Fargo & Company+2020-05-27-16`28`37\n",
      "Predicted box:  tensor([[450.8818,   8.1631, 705.1736,  48.6310]], device='cuda:0')\n",
      "Ground-truth box:  [454.  13. 700.  47.]\n",
      "0.8127751496351587\n",
      "For brand:  Chase Personal Banking+2020-05-18-16`00`12\n",
      "Predicted box:  tensor([[549.4079,  39.8863, 824.9083, 108.0490]], device='cuda:0')\n",
      "Ground-truth box:  [561.  43. 820. 103.]\n",
      "0.8275256101190697\n",
      "For brand:  Apple Inc.+2020-05-30-14`32`08\n",
      "Predicted box:  tensor([[  13.7979,    7.1498,   37.1027,   33.4009],\n",
      "        [ 935.2279,  509.2382,  983.8857,  562.2037],\n",
      "        [  11.5115,    3.2837,   49.3473,   38.7934],\n",
      "        [ 920.2025,  509.6930, 1004.7818,  575.2299]], device='cuda:0')\n",
      "Ground-truth box:  [12.  9. 39. 35.]\n",
      "0.763177717339909\n",
      "For brand:  Banco do Brasil S.A.+2020-05-27-16`21`12\n",
      "Predicted box:  tensor([[321.2359,   3.0608, 370.6960,  47.1156],\n",
      "        [369.2131,   4.5851, 596.7999,  44.7776]], device='cuda:0')\n",
      "Ground-truth box:  [327.   6. 364.  44.]\n",
      "0.6452623299311042\n",
      "For brand:  Chase Personal Banking+2020-05-04-13`12`27\n",
      "Predicted box:  tensor([[228.7643, 179.1290, 425.3882, 218.0860],\n",
      "        [580.2421,  47.5738, 781.9812, 108.1244],\n",
      "        [568.7192,  28.3941, 786.3202, 151.7602]], device='cuda:0')\n",
      "Ground-truth box:  [572.  44. 785. 102.]\n",
      "0.807966823919216\n",
      "For brand:  NatWest Personal Banking+2020-05-16-11`45`08\n",
      "Predicted box:  tensor([[205.5316,  46.1640, 347.4147,  91.4254],\n",
      "        [195.7152,  33.3458, 404.5904,  96.9098]], device='cuda:0')\n",
      "Ground-truth box:  [209.  40. 351.  98.]\n",
      "0.7464377150563271\n",
      "For brand:  MWeb+2020-05-02-09`34`12\n",
      "Predicted box:  tensor([[1.7389e+02, 1.2299e+01, 2.6918e+02, 1.0851e+02],\n",
      "        [1.3312e+02, 2.8177e-01, 4.9728e+02, 1.3702e+02],\n",
      "        [1.7086e+02, 5.5020e+00, 3.6169e+02, 1.2823e+02]], device='cuda:0')\n",
      "Ground-truth box:  [186.  18. 265. 105.]\n",
      "0.7496556058147519\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "For brand:  Visa International Service Association+2020-05-30-16`40`12\n",
      "Predicted box:  tensor([[1070.8781,  132.3238, 1359.8162,  271.7532],\n",
      "        [ 550.9613,  154.4147,  986.8937,  257.1908],\n",
      "        [ 532.6167,  132.2913, 1387.4523,  271.4319],\n",
      "        [ 416.8874,   26.4360,  629.7844,   50.1904],\n",
      "        [ 569.9675,  152.1727,  967.1906,  208.8510]], device='cuda:0')\n",
      "Ground-truth box:  [1126.  199. 1321.  266.]\n",
      "0.3243024999645881\n",
      "For brand:  Apple Inc.+2020-05-16-11`34`04\n",
      "Predicted box:  tensor([[225.4962,  59.6076, 321.6705,  91.4489],\n",
      "        [188.8376,   5.4385, 212.3985,  33.5501],\n",
      "        [579.2468, 238.9728, 792.7642, 302.8042],\n",
      "        [339.9910, 853.1313, 998.4499, 958.9624]], device='cuda:0')\n",
      "Ground-truth box:  [183.   8. 215.  36.]\n",
      "0.6294589048345627\n",
      "For brand:  RBC Royal Bank+2020-05-10-18`08`51\n",
      "Predicted box:  tensor([[ 94.9765,   1.5573, 147.3883,  56.0829],\n",
      "        [ 88.5549,   0.0000, 276.8954,  59.0149]], device='cuda:0')\n",
      "Ground-truth box:  [101.   3. 142.  56.]\n",
      "0.7603799699913764\n",
      "For brand:  AT&T Inc.+2020-05-14-13`22`03\n",
      "Predicted box:  tensor([[235.2575,  47.5787, 287.7995,  96.9124]], device='cuda:0')\n",
      "Ground-truth box:  [231.  47. 286.  98.]\n",
      "0.8650694751070682\n",
      "For brand:  Deutsche Telekom+2020-05-16-19`55`33\n",
      "Predicted box:  tensor([[ 172.7636,   18.0732,  251.3410,   63.3302],\n",
      "        [ 623.3117,   85.3039,  746.5219,  110.2271],\n",
      "        [1009.6815,   24.8710, 1192.1885,   58.0733],\n",
      "        [ 474.6700,  168.7780,  901.8619,  215.3997]], device='cuda:0')\n",
      "Ground-truth box:  [174.  20. 251.  73.]\n",
      "0.7757761095108772\n",
      "For brand:  Chronopost International+2020-05-02-15`30`30\n",
      "Predicted box:  tensor([[  1.6566,  31.1690, 290.0050, 108.3976],\n",
      "        [  0.0000,  33.4682,  59.7670, 106.3612]], device='cuda:0')\n",
      "Ground-truth box:  [  0.  21. 290.  98.]\n",
      "0.7608161059348402\n",
      "For brand:  SF Express Co.+2020-05-21-09`32`24\n",
      "Predicted box:  tensor([[ 393.1174,   16.4572,  548.5925,   80.0829],\n",
      "        [ 386.6260,   13.8256,  658.8032,   91.2566],\n",
      "        [ 398.6391,   21.2883,  457.6728,   76.7980],\n",
      "        [ 551.4373,   58.6272,  659.5777,   90.1411],\n",
      "        [ 791.6551,  359.0269, 1095.0345,  432.9160]], device='cuda:0')\n",
      "Ground-truth box:  [390.  18. 549.  83.]\n",
      "0.9127639225465568\n",
      "For brand:  ASB Bank Limited+2020-05-23-18`41`45\n",
      "Predicted box:  tensor([[ 895.2081,   88.6132, 1013.2095,  133.4514]], device='cuda:0')\n",
      "Ground-truth box:  [ 898.   95. 1011.  133.]\n",
      "0.8115713786929898\n",
      "For brand:  SunTrust Bank+2020-05-21-11`58`18\n",
      "Predicted box:  tensor([[565.9627,  15.8751, 792.4373,  79.4845]], device='cuda:0')\n",
      "Ground-truth box:  [567.  15. 801.  81.]\n",
      "0.9245604421012712\n",
      "For brand:  WhatsApp+2020-05-30-10`13`04\n",
      "Predicted box:  tensor([[424.6516,  17.9748, 576.1744,  72.5463]], device='cuda:0')\n",
      "Ground-truth box:  [419.  15. 586.  77.]\n",
      "0.7986117400569708\n",
      "For brand:  Mastercard International Incorporated+2020-05-21-11`31`42\n",
      "Predicted box:  tensor([[630.8941,   2.8556, 735.5972,  67.4513],\n",
      "        [599.5251,   1.9435, 800.2001,  82.2989]], device='cuda:0')\n",
      "Ground-truth box:  [622.   5. 740.  63.]\n",
      "0.8059864481537568\n",
      "For brand:  POF+2020-05-02-10`13`15\n",
      "Predicted box:  tensor([[191.9679,  20.0885, 754.4537, 178.8758],\n",
      "        [183.7955,  12.8504, 383.9245, 165.0162]], device='cuda:0')\n",
      "Ground-truth box:  [186.  14. 767. 182.]\n",
      "0.9150441257235925\n",
      "For brand:  Chase Personal Banking+2020-05-04-12`44`03\n",
      "Predicted box:  tensor([[585.5062,  54.8626, 778.4304,  96.1452],\n",
      "        [528.0351, 270.9257, 617.0510, 297.8138]], device='cuda:0')\n",
      "Ground-truth box:  [586.  52. 780.  95.]\n",
      "0.8999029146718174\n",
      "For brand:  RuneScape+2020-05-30-12`29`37\n",
      "Predicted box:  tensor([[440.5125,  30.8028, 599.4445,  85.8719],\n",
      "        [436.5760, 114.6812, 881.8306, 217.1974]], device='cuda:0')\n",
      "Ground-truth box:  [441.  31. 599.  87.]\n",
      "0.9708054406160055\n",
      "For brand:  Facebook, Inc.+2020-05-29-15`35`41\n",
      "Predicted box:  tensor([[8.9543e+02, 4.8540e-01, 1.0260e+03, 4.2992e+01],\n",
      "        [9.1753e+02, 6.8343e+01, 9.9922e+02, 1.4966e+02],\n",
      "        [8.9355e+02, 1.8778e+01, 1.0273e+03, 1.5043e+02]], device='cuda:0')\n",
      "Ground-truth box:  [ 892.    3. 1030.   39.]\n",
      "0.8079202611662684\n",
      "For brand:  IRS+2020-05-14-17`16`07\n",
      "Predicted box:  tensor([[110.6970,  27.9578, 265.5261,  90.7080],\n",
      "        [121.6501, 563.7106, 259.2922, 616.4863]], device='cuda:0')\n",
      "Ground-truth box:  [113.  26. 259.  92.]\n",
      "0.899067711957496\n",
      "For brand:  LinkedIn Corporation+2020-05-09-12`17`29\n",
      "Predicted box:  tensor([[ 109.2097,    6.6383,  236.1486,   46.0549],\n",
      "        [ 549.8282,  228.5152,  807.6558,  297.3297],\n",
      "        [1095.3981,    8.1987, 1249.8578,   46.3404]], device='cuda:0')\n",
      "Ground-truth box:  [111.  11. 238.  51.]\n",
      "0.7701434475087653\n",
      "For brand:  Made-In-China+2020-05-24-15`29`02\n",
      "Predicted box:  tensor([[501.6967,  53.2275, 720.8435, 107.9991]], device='cuda:0')\n",
      "Ground-truth box:  [502.  63. 729. 120.]\n",
      "0.6524175449928683\n",
      "For brand:  Banco do Brasil S.A.+2020-05-23-14`32`28\n",
      "Predicted box:  tensor([[ 897.1300,   21.7381, 1022.0983,  137.4088]], device='cuda:0')\n",
      "Ground-truth box:  [ 908.   28. 1007.  129.]\n",
      "0.6917252530921646\n",
      "For brand:  SF Express Co.+2020-05-24-06`41`32\n",
      "Predicted box:  tensor([[2.8904e+02, 2.2912e+00, 4.9943e+02, 5.4761e+01],\n",
      "        [5.6255e+02, 1.3164e+01, 9.8538e+02, 4.3820e+01],\n",
      "        [2.9606e+02, 3.8238e+00, 3.4816e+02, 5.3454e+01],\n",
      "        [2.9314e+02, 1.8084e+00, 3.9448e+02, 5.2144e+01],\n",
      "        [8.6858e+02, 6.1218e+01, 1.2532e+03, 2.5608e+02],\n",
      "        [3.7908e+02, 1.1441e+00, 9.8430e+02, 5.0705e+01]], device='cuda:0')\n",
      "Ground-truth box:  [297.   0. 351.  55.]\n",
      "0.8417225939396181\n",
      "For brand:  ATB Financial+2020-05-09-11`33`17\n",
      "Predicted box:  tensor([[401.0757,  54.9248, 951.0212, 118.0651],\n",
      "        [397.5406,  41.3960, 959.1494, 165.2905]], device='cuda:0')\n",
      "Ground-truth box:  [680.  48. 791. 111.]\n",
      "0.1753713614878594\n",
      "For brand:  Google Inc.+2020-05-29-13`13`24\n",
      "Predicted box:  tensor([[ 918.5532,  101.6380,  997.3751,  132.9663],\n",
      "        [ 897.6555,   93.9612, 1020.3049,  137.0211]], device='cuda:0')\n",
      "Ground-truth box:  [ 907.  101. 1011.  138.]\n",
      "0.6959218457688153\n",
      "For brand:  Daum+2020-05-23-11`40`31\n",
      "Predicted box:  tensor([[ 903.7900,   16.6775, 1018.7609,   73.1441]], device='cuda:0')\n",
      "Ground-truth box:  [ 892.   19. 1028.   73.]\n",
      "0.8139437056409484\n",
      "For brand:  Match+2020-05-13-10`32`12\n",
      "Predicted box:  tensor([[ 11.9382,   9.0552, 196.0070,  41.7438],\n",
      "        [ 44.8114, 122.9465, 282.5577, 160.8120]], device='cuda:0')\n",
      "Ground-truth box:  [ 15.  13. 177.  38.]\n",
      "0.6730975451963499\n",
      "For brand:  Credit Agricole S.A.+2020-05-30-12`40`58\n",
      "Predicted box:  tensor([[654.1005,   7.6939, 966.7527,  84.9176],\n",
      "        [665.3060,   5.3443, 767.9698,  77.7685]], device='cuda:0')\n",
      "Ground-truth box:  [663.  15. 770.  82.]\n",
      "0.7896835568957908\n",
      "For brand:  ICICI Bank Limited+2020-05-26-12`08`34\n",
      "Predicted box:  tensor([[533.4526,  12.9656, 943.4199,  76.6955]], device='cuda:0')\n",
      "Ground-truth box:  [531.   7. 943.  80.]\n",
      "0.8670437248100242\n",
      "For brand:  Google Inc.+2020-05-30-12`45`36\n",
      "Predicted box:  tensor([[ 918.5532,  101.6380,  997.3751,  132.9663],\n",
      "        [ 897.6555,   93.9612, 1020.3049,  137.0211]], device='cuda:0')\n",
      "Ground-truth box:  [ 912.   97. 1003.  135.]\n",
      "0.7141000510419345\n",
      "For brand:  DocuSign+2020-05-24-14`29`21\n",
      "Predicted box:  tensor([[ 872.9708,  146.9286, 1041.1870,  195.4655]], device='cuda:0')\n",
      "Ground-truth box:  [ 871.  145. 1042.  195.]\n",
      "0.9371932994183361\n",
      "For brand:  RuneScape+2020-05-30-10`25`00\n",
      "Predicted box:  tensor([[440.5147,  30.8007, 599.4573,  85.8738],\n",
      "        [434.2224, 114.3709, 884.4425, 217.4887]], device='cuda:0')\n",
      "Ground-truth box:  [445.  35. 598.  88.]\n",
      "0.8573507255936822\n",
      "For brand:  Bank of The Bahamas Limited+2020-05-19-10`46`20\n",
      "Predicted box:  tensor([[  13.3705,   39.6463,  226.2359,  138.2857],\n",
      "        [ 172.2367,  157.5837, 1192.3973,  268.9971],\n",
      "        [ 192.7661,  162.0080,  482.0003,  266.6223],\n",
      "        [ 680.4332,  161.2696, 1177.6102,  265.9038]], device='cuda:0')\n",
      "Ground-truth box:  [ 10.  40. 223. 137.]\n",
      "0.9535834335657565\n",
      "For brand:  WhatsApp+2020-05-24-21`45`15\n",
      "Predicted box:  tensor([[ 424.6516,   17.9748,  576.1744,   72.5463],\n",
      "        [ 881.4453,  163.2591, 1039.3401,  314.8338],\n",
      "        [ 825.9794,  163.7534, 1102.8431,  371.8255]], device='cuda:0')\n",
      "Ground-truth box:  [424.  20. 579.  71.]\n",
      "0.9149318234791284\n",
      "For brand:  Match+2020-05-30-11`57`10\n",
      "Predicted box:  tensor([[469.7815,   3.7981, 591.7975,  50.4101]], device='cuda:0')\n",
      "Ground-truth box:  [466.   3. 594.  50.]\n",
      "0.929333832959935\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "For brand:  Netflix Inc.+2020-05-23-12`40`59\n",
      "Predicted box:  tensor([[ 41.8243,   8.2712, 236.0522,  77.1788]], device='cuda:0')\n",
      "Ground-truth box:  [ 46.   7. 243.  84.]\n",
      "0.8472710734098559\n",
      "For brand:  Chronopost International+2020-05-30-12`38`55\n",
      "Predicted box:  tensor([[476.4626,  55.9390, 800.2874, 130.5344],\n",
      "        [482.5863,  55.7054, 550.3250, 130.7265]], device='cuda:0')\n",
      "Ground-truth box:  [477.  51. 793. 121.]\n",
      "0.799456189524267\n",
      "For brand:  AT&T Inc.+2020-05-14-12`14`24\n",
      "Predicted box:  tensor([[  16.5979,    2.3863,   93.3045,   64.9216],\n",
      "        [ 297.6210,  161.3276, 1017.5414,  333.2148],\n",
      "        [ 309.9853,  175.3872, 1012.5746,  253.6813],\n",
      "        [   6.1375,    2.7222,  155.1609,   71.3143]], device='cuda:0')\n",
      "Ground-truth box:  [24.  6. 85. 65.]\n",
      "0.7485379242521677\n",
      "For brand:  Amazon.com Inc.+2020-05-27-16`35`15\n",
      "Predicted box:  tensor([[ 839.7371,    9.7120,  949.2847,   48.2622],\n",
      "        [ 842.6880,    9.4025, 1031.6906,   53.1852]], device='cuda:0')\n",
      "Ground-truth box:  [832.   3. 950.  51.]\n",
      "0.7456002975392015\n",
      "For brand:  Comcast Corporation+2020-05-25-02`25`35\n",
      "Predicted box:  tensor([[1201.5006,   81.0163, 1338.0229,  134.5232]], device='cuda:0')\n",
      "Ground-truth box:  [1203.   80. 1338.  128.]\n",
      "0.8522879180661694\n",
      "For brand:  Office365+2020-05-23-22`16`33\n",
      "Predicted box:  tensor([[694.1630, 367.1715, 812.8276, 399.7577]], device='cuda:0')\n",
      "Ground-truth box:  [692. 359. 835. 415.]\n",
      "0.48287025014399054\n",
      "For brand:  RBC Royal Bank+2020-05-23-15`31`29\n",
      "Predicted box:  tensor([[348.5262,   5.9300, 403.8762,  64.8778],\n",
      "        [343.9033,   3.0461, 528.6403,  71.3408]], device='cuda:0')\n",
      "Ground-truth box:  [352.   9. 395.  63.]\n",
      "0.711668110632011\n",
      "For brand:  Microsoft OneDrive+2020-05-25-00`50`08\n",
      "Predicted box:  tensor([[143.3384,   6.4062, 263.5005,  40.6859],\n",
      "        [145.6612,  62.0764, 263.8039, 100.6039],\n",
      "        [739.2184, 621.2875, 874.4026, 794.3550]], device='cuda:0')\n",
      "Ground-truth box:  [140.   0. 268.  43.]\n",
      "0.748384628342116\n",
      "For brand:  Spotify+2020-05-13-14`38`00\n",
      "Predicted box:  tensor([[576.0338,  20.8745, 786.5753,  86.6254],\n",
      "        [578.2101,  19.5245, 646.5657,  86.2897]], device='cuda:0')\n",
      "Ground-truth box:  [582.  19. 783.  86.]\n",
      "0.9205455156247023\n",
      "For brand:  M & T Bank Coporation+2020-05-15-12`29`50\n",
      "Predicted box:  tensor([[610.0206,   4.5344, 754.1379,  47.0788]], device='cuda:0')\n",
      "Ground-truth box:  [614.   0. 748.  47.]\n",
      "0.8443979704100393\n",
      "For brand:  Webmail Providers+2020-05-11-14`52`30\n",
      "Predicted box:  tensor([[1.6590e+02, 2.8382e+00, 3.5486e+02, 3.5331e+01],\n",
      "        [1.0987e+03, 9.7709e-01, 1.2023e+03, 3.7342e+01],\n",
      "        [1.6577e+02, 1.2336e+00, 2.1516e+02, 3.4396e+01],\n",
      "        [1.1518e+03, 9.3477e-01, 1.1993e+03, 3.6861e+01]], device='cuda:0')\n",
      "Ground-truth box:  [177.   8. 212.  32.]\n",
      "0.5128599913401296\n",
      "For brand:  AOL Inc.+2020-05-24-09`46`49\n",
      "Predicted box:  tensor([[  40.6930,   11.9440,  157.7716,   67.8843],\n",
      "        [1244.0322,  143.8991, 1363.0107,  203.7318],\n",
      "        [  20.7926,    4.4206,  183.3069,   85.3465]], device='cuda:0')\n",
      "Ground-truth box:  [ 41.  13. 154.  68.]\n",
      "0.9450577825253859\n",
      "For brand:  T-Online+2020-05-19-03`58`55\n",
      "Predicted box:  tensor([[ 189.0662,   22.0380,  264.1137,   67.3736],\n",
      "        [1006.1437,   26.9020, 1178.1149,   55.6058],\n",
      "        [ 483.4535,  209.0277,  887.1916,  259.7943],\n",
      "        [ 165.4675,   17.1533,  284.4449,   81.0564]], device='cuda:0')\n",
      "Ground-truth box:  [188.  23. 267.  70.]\n",
      "0.8797774638505536\n",
      "For brand:  Chase Personal Banking+2020-05-06-12`55`33\n",
      "Predicted box:  tensor([[228.7643, 179.1290, 425.3882, 218.0860],\n",
      "        [580.2421,  47.5738, 781.9812, 108.1244],\n",
      "        [568.7192,  28.3941, 786.3202, 151.7602]], device='cuda:0')\n",
      "Ground-truth box:  [577.  44. 783. 104.]\n",
      "0.86289591214651\n",
      "For brand:  Orange+2020-05-26-11`40`11\n",
      "Predicted box:  tensor([[  70.2079,   56.7114,  160.0410,  139.4887],\n",
      "        [  75.3830,   55.2672,  421.4268,  144.1042],\n",
      "        [1429.4357,    7.9395, 1592.3207,   50.7394],\n",
      "        [ 104.5674,  184.8644,  418.0381,  248.6355],\n",
      "        [1035.9690,  217.9714, 1367.5099,  291.5026],\n",
      "        [  39.4998,   40.4221,  717.5082,  156.5707],\n",
      "        [  72.4551,   55.1071,  236.1115,  143.3843],\n",
      "        [1637.9139,    9.3633, 1849.5713,   49.4482]], device='cuda:0')\n",
      "Ground-truth box:  [ 79.  60. 154. 137.]\n",
      "0.7766123780933861\n",
      "For brand:  Chase Personal Banking+2020-05-16-11`28`10\n",
      "Predicted box:  tensor([[576.6936,  47.2606, 783.7004, 106.9598],\n",
      "        [224.6789, 175.3056, 431.0217, 222.4044]], device='cuda:0')\n",
      "Ground-truth box:  [585.  48. 780.  97.]\n",
      "0.7731736477535356\n",
      "For brand:  SunTrust Bank+2020-05-30-10`14`33\n",
      "Predicted box:  tensor([[788.9062,  64.3571, 961.7957, 157.4279]], device='cuda:0')\n",
      "Ground-truth box:  [790.  63. 962. 163.]\n",
      "0.9241329097835811\n",
      "For brand:  Made-In-China+2020-05-23-18`32`58\n",
      "Predicted box:  tensor([[501.6835,  53.2640, 720.8339, 108.0175]], device='cuda:0')\n",
      "Ground-truth box:  [500.  61. 721. 109.]\n",
      "0.8374865339823943\n",
      "For brand:  Canadian Imperial Bank of Commerce+2020-05-02-22`09`21\n",
      "Predicted box:  tensor([[651.7001,   3.1026, 713.0119,  55.6542],\n",
      "        [628.2126,   0.0000, 733.8965,  63.2607]], device='cuda:0')\n",
      "Ground-truth box:  [659.   6. 706.  50.]\n",
      "0.6418304115233298\n",
      "For brand:  IRS+2020-05-14-17`13`46\n",
      "Predicted box:  tensor([[111.4888,  27.8506, 264.3532,  91.5077],\n",
      "        [120.8678, 560.6976, 258.8906, 617.5718]], device='cuda:0')\n",
      "Ground-truth box:  [109.  25. 263.  94.]\n",
      "0.9003574105474308\n",
      "For brand:  Yahoo! Inc+2020-05-25-11`14`00\n",
      "Predicted box:  tensor([[ 580.3897,    1.8235,  784.5634,   39.8241],\n",
      "        [1252.8353,    3.6279, 1330.1791,   20.6528]], device='cuda:0')\n",
      "Ground-truth box:  [581.   5. 732.  40.]\n",
      "0.6754335563308859\n",
      "For brand:  Dropbox, Inc.+2020-05-26-13`33`12\n",
      "Predicted box:  tensor([[ 855.2015,    6.1063, 1043.2012,   60.0619],\n",
      "        [ 630.1992,  257.8801, 1199.4122,  654.2495]], device='cuda:0')\n",
      "Ground-truth box:  [ 859.    9. 1040.   60.]\n",
      "0.9100276824926812\n",
      "For brand:  Canadian Imperial Bank of Commerce+2020-05-30-15`42`15\n",
      "Predicted box:  tensor([[379.5155,   4.8278, 670.9832,  88.7583],\n",
      "        [384.4085,   3.4362, 475.8013,  85.0778]], device='cuda:0')\n",
      "Ground-truth box:  [388.   3. 468.  79.]\n",
      "0.8064058440595416\n",
      "For brand:  Dropbox, Inc.+2020-05-27-10`46`08\n",
      "Predicted box:  tensor([[ 855.2015,    6.1063, 1043.2012,   60.0619],\n",
      "        [ 630.1992,  257.8801, 1199.4122,  654.2495]], device='cuda:0')\n",
      "Ground-truth box:  [ 849.    3. 1051.   60.]\n",
      "0.8790839693244312\n",
      "For brand:  Microsoft OneDrive+2020-05-12-12`36`03\n",
      "Predicted box:  tensor([[102.3148,   7.9723, 224.1244,  43.4469],\n",
      "        [  2.7916,   0.7668,  52.9763,  51.7807],\n",
      "        [634.8665, 177.6690, 727.8824, 279.8571],\n",
      "        [  9.6457,   7.1749,  44.3336,  40.6969]], device='cuda:0')\n",
      "Ground-truth box:  [102.   4. 227.  44.]\n",
      "0.8642300822487938\n",
      "For brand:  PayPal Inc.+2020-05-08-00`59`24\n",
      "Predicted box:  tensor([[  0.0000,  11.4755, 140.6391,  59.6263],\n",
      "        [286.7961, 200.6939, 457.7709, 250.5703],\n",
      "        [420.3083,  20.0017, 519.3592,  46.3191],\n",
      "        [  1.3693,  13.3389,  26.8410,  50.4059]], device='cuda:0')\n",
      "Ground-truth box:  [  5.   8. 146.  63.]\n",
      "0.816824554952321\n",
      "For brand:  Simplii Financial+2020-05-23-15`27`51\n",
      "Predicted box:  tensor([[ 898.6097,    6.3258, 1017.5806,   54.5875],\n",
      "        [   1.6984,    5.8602,   62.3834,   57.1309]], device='cuda:0')\n",
      "Ground-truth box:  [ 905.    7. 1017.   57.]\n",
      "0.8865373680633297\n",
      "For brand:  1&1 Ionos+2020-05-10-23`43`06\n",
      "Predicted box:  tensor([[ 19.0383,   8.3540, 150.1216,  57.1614],\n",
      "        [ 20.9697,   7.4866, 295.7890,  60.1781]], device='cuda:0')\n",
      "Ground-truth box:  [ 21.  12. 146.  50.]\n",
      "0.7424393930645599\n",
      "For brand:  IRS+2020-05-18-10`11`58\n",
      "Predicted box:  tensor([[110.7153,  27.9900, 265.5634,  90.9139]], device='cuda:0')\n",
      "Ground-truth box:  [117.  21. 257.  99.]\n",
      "0.743134981756778\n",
      "For brand:  DHL Airways, Inc.+2020-05-25-18`01`09\n",
      "Predicted box:  tensor([[137.7966,   7.5974, 249.3260,  38.2827],\n",
      "        [134.8943,  60.1182, 257.7613,  90.3809]], device='cuda:0')\n",
      "Ground-truth box:  [140.   3. 258.  41.]\n",
      "0.737034085683364\n",
      "For brand:  Alibaba+2020-05-15-06`30`53\n",
      "Predicted box:  tensor([[ 82.6564,  32.6479, 277.3168,  72.4417]], device='cuda:0')\n",
      "Ground-truth box:  [ 83.  35. 278.  75.]\n",
      "0.8796757386144637\n",
      "For brand:  NetEase+2020-05-25-05`24`52\n",
      "Predicted box:  tensor([[499.1278,   3.9266, 668.5455,  53.2245],\n",
      "        [582.2619, 139.5911, 946.9786, 213.8496]], device='cuda:0')\n",
      "Ground-truth box:  [494.   0. 676.  65.]\n",
      "0.7059960203233407\n",
      "For brand:  Desjardins+2020-05-19-05`31`42\n",
      "Predicted box:  tensor([[208.6581,   8.2230, 370.8030,  52.1630],\n",
      "        [195.5561,   5.1763, 652.0802,  54.5065],\n",
      "        [402.6502,   6.1213, 626.6219,  56.1361],\n",
      "        [522.4636,   8.8844, 626.5901,  53.3481],\n",
      "        [397.6082,   8.3550, 518.1308,  51.5795]], device='cuda:0')\n",
      "Ground-truth box:  [204.   5. 378.  57.]\n",
      "0.7874286665568014\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "For brand:  Comcast Corporation+2020-05-25-16`46`19\n",
      "Predicted box:  tensor([[1193.0742,   80.7371, 1331.4160,  136.3772]], device='cuda:0')\n",
      "Ground-truth box:  [1191.   82. 1331.  123.]\n",
      "0.7266351325294588\n",
      "For brand:  Adobe Inc.+2020-05-13-13`49`36\n",
      "Predicted box:  tensor([[ 144.6790,   37.6584,  474.7254,  114.7045],\n",
      "        [ 145.9904,   46.3867,  205.5266,  103.9414],\n",
      "        [ 928.3657,   46.1781, 1231.8564,   85.9839],\n",
      "        [ 148.7798,   47.2068,  384.7231,   94.8467]], device='cuda:0')\n",
      "Ground-truth box:  [151.  52. 203.  99.]\n",
      "0.7132461192521228\n",
      "For brand:  EarthLink+2020-05-02-09`24`40\n",
      "Predicted box:  tensor([[ 16.2438,   1.8055, 148.8822,  33.1802],\n",
      "        [483.2550,   4.0946, 553.2623,  31.3507]], device='cuda:0')\n",
      "Ground-truth box:  [  7.  -1. 153.  31.]\n",
      "0.7805225469876892\n",
      "For brand:  Alibaba+2020-05-30-10`32`25\n",
      "Predicted box:  tensor([[353.8742,  27.7843, 555.8918,  74.3085]], device='cuda:0')\n",
      "Ground-truth box:  [352.  27. 563.  75.]\n",
      "0.9279916662109804\n",
      "For brand:  Societe Generale+2020-05-11-17`07`16\n",
      "Predicted box:  tensor([[ 34.2087,  31.4727, 264.5523,  78.7295],\n",
      "        [ 55.6907, 113.0000, 306.5884, 146.4199],\n",
      "        [ 25.7610, 952.7305, 185.3588, 997.5820]], device='cuda:0')\n",
      "Ground-truth box:  [180.  37. 308.  75.]\n",
      "0.25629474504048216\n",
      "For brand:  RuneScape+2020-05-02-06`35`47\n",
      "Predicted box:  tensor([[174.2054,  26.2338, 325.5966,  87.7641],\n",
      "        [166.0920, 111.7341, 614.2498, 217.9523]], device='cuda:0')\n",
      "Ground-truth box:  [165.  34. 333.  92.]\n",
      "0.7453856452834527\n",
      "For brand:  Chase Personal Banking+2020-05-10-18`13`57\n",
      "Predicted box:  tensor([[210.9440,  11.6126, 359.8996,  49.7896]], device='cuda:0')\n",
      "Ground-truth box:  [212.  11. 352.  47.]\n",
      "0.8582574047862847\n",
      "For brand:  Dropbox, Inc.+2020-05-27-10`44`05\n",
      "Predicted box:  tensor([[ 881.5746,    5.9883, 1070.8127,   61.9135],\n",
      "        [ 670.7142,  615.8088, 1029.0833,  956.3420],\n",
      "        [ 665.4689,  603.6780,  853.1896,  779.8265],\n",
      "        [1609.2100,   98.9073, 1685.4214,  161.1379],\n",
      "        [1488.8538,   22.3307, 1623.8358,   49.5392],\n",
      "        [ 303.2250,   14.7248,  491.7053,   59.7609]], device='cuda:0')\n",
      "Ground-truth box:  [ 888.    3. 1080.   58.]\n",
      "0.8172392416749972\n",
      "For brand:  PayPal Inc.+2020-05-30-13`02`14\n",
      "Predicted box:  tensor([[ 885.9152,  124.2278, 1033.5607,  172.2351]], device='cuda:0')\n",
      "Ground-truth box:  [ 884.  129. 1037.  170.]\n",
      "0.828378462212259\n",
      "For brand:  Webmail Providers+2020-05-09-14`22`53\n",
      "Predicted box:  tensor([[  3.9669,   2.1143, 139.6830,  36.5752],\n",
      "        [  7.4565,  43.6917, 192.6236,  89.4207],\n",
      "        [  0.0000,   0.0000, 198.2742,  93.8919]], device='cuda:0')\n",
      "Ground-truth box:  [  3.   4. 139.  40.]\n",
      "0.8501350023168854\n",
      "For brand:  DocuSign+2020-05-02-17`04`51\n",
      "Predicted box:  tensor([[ 31.9777,  12.1489, 177.3122,  62.9337],\n",
      "        [587.3606, 274.6367, 799.4191, 319.4844],\n",
      "        [619.6294, 442.1208, 763.6625, 482.6562]], device='cuda:0')\n",
      "Ground-truth box:  [ 32.  17. 179.  67.]\n",
      "0.8285363936079942\n",
      "For brand:  Bank of America+2020-05-13-13`48`41\n",
      "Predicted box:  tensor([[118.5037,  13.4945, 359.7247,  52.2094],\n",
      "        [123.5861,  85.5943, 418.4829, 155.5981]], device='cuda:0')\n",
      "Ground-truth box:  [114.   8. 362.  60.]\n",
      "0.7241654105850542\n",
      "For brand:  Itau Unibanco S.A+2020-05-01-22`42`10\n",
      "Predicted box:  tensor([[ 13.1475,   7.7399, 216.5988,  64.6931]], device='cuda:0')\n",
      "Ground-truth box:  [ 10.   7. 218.  65.]\n",
      "0.9604780526934736\n",
      "For brand:  Webmail Providers+2020-05-27-12`50`52\n",
      "Predicted box:  tensor([[1434.7960,    0.0000, 1475.8739,   34.3495],\n",
      "        [ 443.9243,    2.5369,  630.9657,   35.5582]], device='cuda:0')\n",
      "Ground-truth box:  [451.   6. 490.  32.]\n",
      "0.16417468294044976\n",
      "For brand:  DocuSign+2020-05-30-09`24`01\n",
      "Predicted box:  tensor([[ 283.6226,    2.2455,  461.0293,   54.0934],\n",
      "        [ 809.4704,   87.4228, 1103.1589,  214.6845],\n",
      "        [ 963.7634,   89.4884, 1097.2014,  208.4024],\n",
      "        [ 586.3607,  588.1249, 1352.4862,  729.5682]], device='cuda:0')\n",
      "Ground-truth box:  [277.   5. 461.  53.]\n",
      "0.8947109046405357\n",
      "For brand:  Credit Agricole S.A.+2020-05-16-10`38`20\n",
      "Predicted box:  tensor([[8.2310e-01, 8.4344e+00, 1.6893e+02, 5.5750e+01],\n",
      "        [1.2976e+03, 0.0000e+00, 1.3638e+03, 6.2534e+01]], device='cuda:0')\n",
      "Ground-truth box:  [  0.  13. 175.  50.]\n",
      "0.7577018561742729\n",
      "For brand:  Daum+2020-05-29-12`43`06\n",
      "Predicted box:  tensor([[621.9305,  15.0821, 742.1011,  73.0630]], device='cuda:0')\n",
      "Ground-truth box:  [612.  17. 758.  67.]\n",
      "0.7275074514225368\n",
      "For brand:  Credit Agricole S.A.+2020-05-16-12`26`13\n",
      "Predicted box:  tensor([[8.2310e-01, 8.4344e+00, 1.6893e+02, 5.5750e+01],\n",
      "        [1.2976e+03, 0.0000e+00, 1.3638e+03, 6.2534e+01]], device='cuda:0')\n",
      "Ground-truth box:  [  0.  12. 178.  52.]\n",
      "0.8053372702508416\n",
      "For brand:  Comcast Corporation+2020-05-02-00`44`00\n",
      "Predicted box:  tensor([[ 918.7504,   45.4340, 1035.7345,   92.3151]], device='cuda:0')\n",
      "Ground-truth box:  [ 909.   43. 1049.   93.]\n",
      "0.7834765283168246\n",
      "For brand:  Apple Inc.+2020-05-24-15`14`11\n",
      "Predicted box:  tensor([[  11.5597,    7.7842,   36.2411,   34.3951],\n",
      "        [ 896.2251,  351.0987, 1018.5349,  458.6926],\n",
      "        [  10.0388,    6.6229,   53.7671,   38.1723]], device='cuda:0')\n",
      "Ground-truth box:  [10. 10. 37. 36.]\n",
      "0.7957118068053124\n",
      "For brand:  Credit Agricole S.A.+2020-05-03-12`33`12\n",
      "Predicted box:  tensor([[377.3462,  17.4536, 679.5646, 100.1800],\n",
      "        [379.8929,  18.4245, 479.6602,  89.5194],\n",
      "        [385.4956, 359.1158, 498.1329, 388.0006]], device='cuda:0')\n",
      "Ground-truth box:  [378.  17. 477.  88.]\n",
      "0.9172648111729029\n",
      "For brand:  Orange+2020-05-24-10`58`16\n",
      "Predicted box:  tensor([[ 364.1247,  104.0995,  600.8441,  149.1596],\n",
      "        [ 363.8751,   13.8940,  415.1143,   63.8667],\n",
      "        [1268.3329,  124.3460, 1538.3773,  189.4424]], device='cuda:0')\n",
      "Ground-truth box:  [364.  15. 413.  68.]\n",
      "0.8665908859890468\n",
      "For brand:  Daum+2020-05-27-10`03`03\n",
      "Predicted box:  tensor([[ 903.7900,   16.6775, 1018.7609,   73.1441]], device='cuda:0')\n",
      "Ground-truth box:  [ 888.   20. 1032.   80.]\n",
      "0.6772364547228192\n",
      "For brand:  Microsoft OneDrive+2020-05-02-18`22`15\n",
      "Predicted box:  tensor([[601.6951,  45.1953, 768.6215, 163.5644],\n",
      "        [608.4465,  48.0655, 735.5402, 125.3662]], device='cuda:0')\n",
      "Ground-truth box:  [598.  50. 777. 159.]\n",
      "0.8633452660341407\n",
      "For brand:  Bank of America+2020-05-30-15`52`54\n",
      "Predicted box:  tensor([[ 48.7746,  42.5671, 340.3587,  87.9215],\n",
      "        [604.0782,   3.4922, 700.5482,  28.1663],\n",
      "        [ 31.2952,  37.7128, 353.3941, 119.8782],\n",
      "        [ 50.7677,   6.1957, 112.8594,  29.5367]], device='cuda:0')\n",
      "Ground-truth box:  [ 38.  39. 348.  89.]\n",
      "0.8532014979500785\n",
      "For brand:  Spectrum+2020-05-27-11`30`23\n",
      "Predicted box:  tensor([[ 892.5018,   29.1566, 1026.6328,   69.4137],\n",
      "        [ 805.9107,  145.5872, 1089.7781,  185.3490]], device='cuda:0')\n",
      "Ground-truth box:  [ 896.   28. 1028.   67.]\n",
      "0.8821320674196237\n",
      "For brand:  TradeKey+2020-05-02-02`39`40\n",
      "Predicted box:  tensor([[291.0074,  27.4981, 512.2591,  74.0970]], device='cuda:0')\n",
      "Ground-truth box:  [292.  26. 514.  75.]\n",
      "0.9395441474987986\n",
      "For brand:  Chronopost International+2020-05-02-15`28`58\n",
      "Predicted box:  tensor([[  1.6566,  31.1690, 290.0050, 108.3976],\n",
      "        [  0.0000,  33.4682,  59.7670, 106.3612]], device='cuda:0')\n",
      "Ground-truth box:  [  4.  23. 290.  95.]\n",
      "0.7419479987920156\n",
      "For brand:  Wells Fargo & Company+2020-05-25-07`48`23\n",
      "Predicted box:  tensor([[450.8818,   8.1631, 705.1736,  48.6310]], device='cuda:0')\n",
      "Ground-truth box:  [457.   8. 703.  50.]\n",
      "0.933214609356544\n",
      "For brand:  SF Express Co.+2020-05-21-11`22`30\n",
      "Predicted box:  tensor([[ 393.1174,   16.4572,  548.5925,   80.0829],\n",
      "        [ 386.6260,   13.8256,  658.8032,   91.2566],\n",
      "        [ 398.6391,   21.2883,  457.6728,   76.7980],\n",
      "        [ 551.4373,   58.6272,  659.5777,   90.1411],\n",
      "        [ 791.6567,  359.0266, 1095.0365,  432.9163]], device='cuda:0')\n",
      "Ground-truth box:  [389.  19. 549.  82.]\n",
      "0.9065939674538195\n",
      "For brand:  Banco do Brasil S.A.+2020-05-12-13`55`40\n",
      "Predicted box:  tensor([[ 288.2651,    2.4662,  796.0079,  153.8475],\n",
      "        [ 919.0218,    5.4738, 1075.0063,  150.4239]], device='cuda:0')\n",
      "Ground-truth box:  [ 932.   10. 1064.  147.]\n",
      "0.7998240540553179\n",
      "For brand:  RuneScape+2020-05-29-14`00`56\n",
      "Predicted box:  tensor([[ 838.4075,  389.2839, 1081.2363,  481.8652],\n",
      "        [ 813.7856,  376.4196, 1117.2458,  559.4059]], device='cuda:0')\n",
      "Ground-truth box:  [ 843.  392. 1074.  473.]\n",
      "0.8322878653215636\n",
      "For brand:  Deutsche Telekom+2020-05-27-16`30`49\n",
      "Predicted box:  tensor([[ 307.3289,   42.2728,  387.8141,   88.6314],\n",
      "        [1365.6825,   38.1281, 1616.2677,   92.8929],\n",
      "        [ 324.2578,  166.0631,  845.8358,  206.0853],\n",
      "        [ 288.7026,   40.3295,  537.2642,   93.0087]], device='cuda:0')\n",
      "Ground-truth box:  [307.  44. 386.  82.]\n",
      "0.7985457675858413\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "For brand:  PayPal Inc.+2020-05-25-05`30`22\n",
      "Predicted box:  tensor([[ 894.1927,  153.8877, 1026.3119,  197.6303]], device='cuda:0')\n",
      "Ground-truth box:  [ 902.  156. 1029.  195.]\n",
      "0.8239466063403245\n",
      "For brand:  Etisalat+2020-05-24-16`20`27\n",
      "Predicted box:  tensor([[2.1418e+02, 1.4462e+00, 3.1823e+02, 1.0487e+02],\n",
      "        [7.5915e+02, 2.0821e+02, 8.3774e+02, 2.6417e+02],\n",
      "        [7.5582e+02, 1.9944e+02, 1.1111e+03, 2.6533e+02],\n",
      "        [9.4655e+01, 4.3456e-01, 3.4143e+02, 1.0484e+02]], device='cuda:0')\n",
      "Ground-truth box:  [225.   5. 309.  96.]\n",
      "0.7103743639698064\n",
      "For brand:  Cox Communications+2020-05-14-16`48`42\n",
      "Predicted box:  tensor([[302.1958,  46.5996, 373.2365,  77.1287]], device='cuda:0')\n",
      "Ground-truth box:  [295.  39. 372.  70.]\n",
      "0.5589459107402116\n",
      "For brand:  Comcast Corporation+2020-05-02-08`15`56\n",
      "Predicted box:  tensor([[ 918.7504,   45.4340, 1035.7345,   92.3151]], device='cuda:0')\n",
      "Ground-truth box:  [ 910.   41. 1033.   87.]\n",
      "0.7427758728941245\n",
      "For brand:  RBC Royal Bank+2020-05-09-14`29`59\n",
      "Predicted box:  tensor([[ 84.8328,  32.3971, 288.6405, 113.3453],\n",
      "        [ 92.0428,  37.0242, 201.2628, 112.4008],\n",
      "        [ 91.0676,   0.0000, 160.3916,  25.2343],\n",
      "        [ 94.6202,  34.8289, 154.9178, 106.1249]], device='cuda:0')\n",
      "Ground-truth box:  [ 77.  34. 294. 108.]\n",
      "0.8630934017836526\n",
      "For brand:  Itau Unibanco S.A+2020-05-27-10`33`12\n",
      "Predicted box:  tensor([[ 805.7092,  106.7071, 1116.5566,  195.5412]], device='cuda:0')\n",
      "Ground-truth box:  [ 791.  111. 1122.  196.]\n",
      "0.8917516172953741\n",
      "For brand:  American Express+2020-05-27-17`10`46\n",
      "Predicted box:  tensor([[179.4222,   5.7313, 230.9839,  55.4809],\n",
      "        [179.2003,   2.7593, 332.8164,  55.2655]], device='cuda:0')\n",
      "Ground-truth box:  [180.   7. 229.  55.]\n",
      "0.9168966615393244\n",
      "For brand:  RBC Royal Bank+2020-05-19-06`37`39\n",
      "Predicted box:  tensor([[ 94.9765,   1.5573, 147.3883,  56.0829],\n",
      "        [ 88.5549,   0.0000, 276.8954,  59.0149]], device='cuda:0')\n",
      "Ground-truth box:  [ 96.   0. 137.  58.]\n",
      "0.745124191545198\n",
      "For brand:  Netflix Inc.+2020-05-02-08`51`47\n",
      "Predicted box:  tensor([[  29.2888,   13.9251,  218.2578,   80.4544],\n",
      "        [ 458.3188,  139.6756,  570.1697,  182.7897],\n",
      "        [ 986.2924,    1.9599, 1156.1250,  114.2077]], device='cuda:0')\n",
      "Ground-truth box:  [ 25.  13. 219.  89.]\n",
      "0.8526837906845559\n",
      "For brand:  Dropbox, Inc.+2020-05-27-10`53`30\n",
      "Predicted box:  tensor([[ 855.2015,    6.1063, 1043.2012,   60.0619],\n",
      "        [ 630.1992,  257.8801, 1199.4122,  654.2495]], device='cuda:0')\n",
      "Ground-truth box:  [ 851.    2. 1054.   60.]\n",
      "0.8596907237950961\n",
      "For brand:  Free (ISP)+2020-05-02-00`22`57\n",
      "Predicted box:  tensor([[182.5309,   7.3603, 319.1082,  59.0148],\n",
      "        [192.9329,   9.9705, 609.6533,  57.0794],\n",
      "        [189.0413, 396.3767, 372.8988, 458.1224],\n",
      "        [306.0343, 162.1766, 540.3826, 219.4939],\n",
      "        [275.2828,  21.3927, 613.2907,  47.6671]], device='cuda:0')\n",
      "Ground-truth box:  [191.   4. 320.  56.]\n",
      "0.8273234177664697\n",
      "For brand:  Rackspace+2020-05-24-12`19`52\n",
      "Predicted box:  tensor([[1195.4402,  308.9192, 1350.1779,  356.0060],\n",
      "        [ 571.2631,  306.9972,  747.1344,  353.3596]], device='cuda:0')\n",
      "Ground-truth box:  [1201.  309. 1351.  361.]\n",
      "0.868514021635659\n",
      "For brand:  Grupo Santander+2020-05-23-22`54`41\n",
      "Predicted box:  tensor([[  3.5497,   3.0214, 150.7992,  41.2548]], device='cuda:0')\n",
      "Ground-truth box:  [  2.   2. 149.  48.]\n",
      "0.8141154349852081\n",
      "For brand:  Bank of The Bahamas Limited+2020-05-15-12`11`40\n",
      "Predicted box:  tensor([[  13.3705,   39.6463,  226.2359,  138.2857],\n",
      "        [ 172.2367,  157.5837, 1192.3973,  268.9971],\n",
      "        [ 192.7661,  162.0080,  482.0003,  266.6223],\n",
      "        [ 680.4332,  161.2696, 1177.6102,  265.9038]], device='cuda:0')\n",
      "Ground-truth box:  [  6.  34. 237. 142.]\n",
      "0.841626566894015\n",
      "For brand:  Banco do Brasil S.A.+2020-05-02-15`45`28\n",
      "Predicted box:  tensor([[621.1577, 323.1519, 742.2679, 441.3421]], device='cuda:0')\n",
      "Ground-truth box:  [639. 343. 727. 427.]\n",
      "0.5164159075574545\n",
      "For brand:  Daum+2020-05-24-09`49`30\n",
      "Predicted box:  tensor([[ 903.7437,   16.7336, 1018.6725,   73.0540]], device='cuda:0')\n",
      "Ground-truth box:  [ 899.    9. 1023.   65.]\n",
      "0.7048864079280088\n",
      "For brand:  Credit Agricole S.A.+2020-05-27-10`06`15\n",
      "Predicted box:  tensor([[8.3414e-01, 9.3165e+00, 1.7093e+02, 5.3017e+01],\n",
      "        [1.2411e+03, 1.4014e+02, 1.6136e+03, 2.2704e+02],\n",
      "        [1.8386e+03, 1.1107e+00, 1.9050e+03, 5.9834e+01],\n",
      "        [0.0000e+00, 4.4841e+00, 1.9130e+02, 8.9619e+01]], device='cuda:0')\n",
      "Ground-truth box:  [  2.  15. 178.  55.]\n",
      "0.7976745428719358\n",
      "For brand:  Discover+2020-05-30-14`14`34\n",
      "Predicted box:  tensor([[ 472.4874,   12.7459,  602.6151,   49.4714],\n",
      "        [ 468.4747,    8.2265,  706.9112,   49.4067],\n",
      "        [ 821.4806,   70.8696, 1302.0404,  105.1759]], device='cuda:0')\n",
      "Ground-truth box:  [468.  12. 600.  50.]\n",
      "0.916064989676576\n",
      "For brand:  Comcast Corporation+2020-05-24-13`38`41\n",
      "Predicted box:  tensor([[1175.0304,  870.8462, 1316.2023,  929.4427]], device='cuda:0')\n",
      "Ground-truth box:  [1168.  875. 1324.  924.]\n",
      "0.7687086943364809\n",
      "For brand:  Instagram+2020-05-21-12`01`48\n",
      "Predicted box:  tensor([[  1.4393,   1.4171, 156.8613,  41.4278],\n",
      "        [  3.3555,   1.8363,  39.5719,  37.1466]], device='cuda:0')\n",
      "Ground-truth box:  [ 58.   0. 163.  36.]\n",
      "0.5196209466127453\n",
      "For brand:  Amazon.com Inc.+2020-05-24-01`52`25\n",
      "Predicted box:  tensor([[  7.9600,   3.5136, 156.7887,  52.5574]], device='cuda:0')\n",
      "Ground-truth box:  [ 48.   9. 150.  43.]\n",
      "0.47512506106044833\n",
      "For brand:  Steam+2020-05-24-03`35`00\n",
      "Predicted box:  tensor([[472.4467,  20.7495, 632.3611,  76.9967],\n",
      "        [470.2729,  96.4942, 672.5819, 314.6017],\n",
      "        [473.8723,  23.2346, 527.3934,  77.7365]], device='cuda:0')\n",
      "Ground-truth box:  [473.  24. 634.  79.]\n",
      "0.8980748994720327\n",
      "For brand:  Desjardins+2020-05-04-13`31`01\n",
      "Predicted box:  tensor([[210.6682,   8.5122, 371.0241,  53.1426],\n",
      "        [346.2809,   6.0505, 625.2458,  55.5485],\n",
      "        [399.8248,   7.3770, 518.4052,  52.2437],\n",
      "        [218.4778,   6.2357, 489.4159,  55.8440],\n",
      "        [504.4811,   9.0717, 627.1810,  53.5279],\n",
      "        [167.9797,   3.8908, 674.4162,  61.0607],\n",
      "        [209.7046,  11.9068, 246.7681,  49.0853]], device='cuda:0')\n",
      "Ground-truth box:  [203.  11. 373.  55.]\n",
      "0.8577059329490445\n",
      "For brand:  Wells Fargo & Company+2020-05-19-03`24`31\n",
      "Predicted box:  tensor([[196.6277,   1.8892, 263.2190,  64.4701]], device='cuda:0')\n",
      "Ground-truth box:  [201.   5. 263.  66.]\n",
      "0.8650813980419028\n",
      "For brand:  Chronopost International+2020-05-01-19`08`51\n",
      "Predicted box:  tensor([[4.1468e-02, 2.7140e+01, 2.9777e+02, 1.0857e+02],\n",
      "        [0.0000e+00, 3.3247e+01, 5.6909e+01, 1.0645e+02],\n",
      "        [9.5606e+02, 6.7042e+02, 1.1170e+03, 7.1067e+02],\n",
      "        [2.0666e+02, 6.6848e+02, 3.4869e+02, 7.1312e+02]], device='cuda:0')\n",
      "Ground-truth box:  [  2.  35. 293. 100.]\n",
      "0.7801456486484554\n",
      "For brand:  WeTransfer+2020-05-17-09`38`30\n",
      "Predicted box:  tensor([[  9.8068,   6.0386,  61.7396,  40.0655],\n",
      "        [496.8204, 203.5811, 837.3436, 263.4553],\n",
      "        [488.1281, 158.8233, 649.9380, 195.9398],\n",
      "        [  5.3285,   3.8193, 103.9839,  45.2080]], device='cuda:0')\n",
      "Ground-truth box:  [12.  6. 62. 42.]\n",
      "0.9028387338338564\n",
      "For brand:  Orange+2020-05-09-12`07`13\n",
      "Predicted box:  tensor([[158.2165,  54.8550, 214.1560, 106.7843],\n",
      "        [160.8423, 126.2739, 420.3442, 171.1875],\n",
      "        [149.8074,  60.1357, 419.1611, 170.3710],\n",
      "        [154.8788,  49.1401, 404.4915, 119.8526],\n",
      "        [142.5476,  48.9945, 241.2894, 115.1003]], device='cuda:0')\n",
      "Ground-truth box:  [165.  60. 208. 100.]\n",
      "0.5921027674342695\n",
      "For brand:  Credit Agricole S.A.+2020-05-18-10`41`42\n",
      "Predicted box:  tensor([[6.1269e+02, 2.0317e-01, 7.6239e+02, 1.0735e+02],\n",
      "        [7.0017e+00, 1.5436e+02, 2.0686e+02, 1.8017e+02],\n",
      "        [6.3758e+02, 0.0000e+00, 7.4376e+02, 6.7415e+01]], device='cuda:0')\n",
      "Ground-truth box:  [601.   7. 773. 108.]\n",
      "0.8168643259554516\n",
      "For brand:  Grupo Santander+2020-05-24-10`18`50\n",
      "Predicted box:  tensor([[ 397.2639,   19.9218,  554.3649,   61.9202],\n",
      "        [1016.4583,  119.6980, 1367.8721,  504.8643]], device='cuda:0')\n",
      "Ground-truth box:  [400.  17. 552.  65.]\n",
      "0.850006785564605\n",
      "For brand:  Canadian Imperial Bank of Commerce+2020-05-23-18`51`45\n",
      "Predicted box:  tensor([[928.4509,   2.3601, 990.7048,  55.0768]], device='cuda:0')\n",
      "Ground-truth box:  [931.   3. 987.  58.]\n",
      "0.8464039593496729\n",
      "For brand:  Comcast Corporation+2020-05-02-00`38`57\n",
      "Predicted box:  tensor([[ 918.7504,   45.4340, 1035.7345,   92.3151]], device='cuda:0')\n",
      "Ground-truth box:  [ 910.   44. 1048.   90.]\n",
      "0.7876785576223633\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "For brand:  GoDaddy+2020-05-06-14`38`23\n",
      "Predicted box:  tensor([[ 866.0485,   51.5326, 1102.4357,  123.3478],\n",
      "        [ 169.9884,  190.7443,  286.6803,  292.1698]], device='cuda:0')\n",
      "Ground-truth box:  [ 862.   44. 1111.  124.]\n",
      "0.8522178296758298\n",
      "For brand:  WhatsApp+2020-05-29-13`40`59\n",
      "Predicted box:  tensor([[ 424.6516,   17.9748,  576.1744,   72.5463],\n",
      "        [ 767.6901,  169.9077, 1143.8754,  377.0300],\n",
      "        [ 870.9652,  169.6113, 1057.7131,  315.4842]], device='cuda:0')\n",
      "Ground-truth box:  [429.  19. 579.  71.]\n",
      "0.9093733724593809\n",
      "For brand:  Juno Online Services+2020-05-17-09`47`27\n",
      "Predicted box:  tensor([[173.4767,  31.5217, 371.6409,  94.6126]], device='cuda:0')\n",
      "Ground-truth box:  [170.  30. 373.  92.]\n",
      "0.914597692350632\n",
      "For brand:  U.S. Bank+2020-05-24-19`16`09\n",
      "Predicted box:  tensor([[150.8211,   4.5031, 366.0259,  72.1442],\n",
      "        [149.3430,   6.3833, 545.0171,  77.5768],\n",
      "        [153.4739,   7.9656, 239.0021,  70.5393]], device='cuda:0')\n",
      "Ground-truth box:  [158.   9. 364.  65.]\n",
      "0.7924886793761665\n",
      "For brand:  DHL Airways, Inc.+2020-05-06-12`54`43\n",
      "Predicted box:  tensor([[258.7059,   9.0247, 391.0138,  44.3611],\n",
      "        [263.9751,  55.8863, 342.2925,  86.1609]], device='cuda:0')\n",
      "Ground-truth box:  [260.  10. 401.  42.]\n",
      "0.8393545510738931\n",
      "For brand:  ATB Financial+2020-05-25-10`00`10\n",
      "Predicted box:  tensor([[ 680.5889,   57.7162, 1219.8762,  117.6160],\n",
      "        [ 683.1030,   55.2787,  959.1533,  113.6060],\n",
      "        [ 364.2127,  182.8486,  644.5294,  232.4093]], device='cuda:0')\n",
      "Ground-truth box:  [ 952.   58. 1067.  110.]\n",
      "0.18512091598939956\n",
      "For brand:  American Express+2020-05-11-17`08`27\n",
      "Predicted box:  tensor([[245.2907,   3.5987, 298.1973,  55.5090]], device='cuda:0')\n",
      "Ground-truth box:  [247.   5. 294.  52.]\n",
      "0.8043266893634395\n",
      "For brand:  Webmail Providers+2020-05-11-15`32`44\n",
      "Predicted box:  tensor([[  3.9669,   2.1143, 139.6830,  36.5752],\n",
      "        [  7.4565,  43.6917, 192.6236,  89.4207],\n",
      "        [  0.0000,   0.0000, 198.2742,  93.8919]], device='cuda:0')\n",
      "Ground-truth box:  [  6.   4. 135.  36.]\n",
      "0.8826357663023693\n",
      "For brand:  Itau Unibanco S.A+2020-05-30-11`25`33\n",
      "Predicted box:  tensor([[ 61.8152,  19.5746, 272.8862,  77.4556]], device='cuda:0')\n",
      "Ground-truth box:  [ 56.  22. 277.  91.]\n",
      "0.7426633850269967\n",
      "For brand:  Absa Group+2020-05-01-18`15`59\n",
      "Predicted box:  tensor([[  6.7534,   6.2908,  64.5668,  61.6224],\n",
      "        [  0.0000,   2.3969, 197.6580,  66.3935],\n",
      "        [  1.0881,   3.3425, 102.9204,  69.3935]], device='cuda:0')\n",
      "Ground-truth box:  [ 7.  7. 61. 59.]\n",
      "0.8777995576070027\n",
      "For brand:  Orange+2020-05-02-23`14`52\n",
      "Predicted box:  tensor([[  76.8146,   14.8205,  126.2254,   65.1451],\n",
      "        [  73.0941,   14.1874,  169.5590,   69.6514],\n",
      "        [ 846.7172,  245.3326, 1108.8340,  310.3265],\n",
      "        [  71.9939,   13.9233,  644.3535,   73.8477]], device='cuda:0')\n",
      "Ground-truth box:  [ 81.  20. 122.  62.]\n",
      "0.6925191768796616\n",
      "For brand:  Blockchain+2020-05-02-17`01`25\n",
      "Predicted box:  tensor([[ 29.9225,   0.0000, 217.8821,  26.4522],\n",
      "        [531.3256, 206.9555, 846.4578, 259.8038],\n",
      "        [533.2555, 199.6900, 593.5918, 263.9493]], device='cuda:0')\n",
      "Ground-truth box:  [ 34.   0. 215.  27.]\n",
      "0.9441461747993354\n",
      "For brand:  Steam+2020-05-25-02`44`25\n",
      "Predicted box:  tensor([[481.4989,  20.0265, 640.7971,  76.8511]], device='cuda:0')\n",
      "Ground-truth box:  [479.  22. 643.  87.]\n",
      "0.7961897388612551\n",
      "For brand:  PayPal Inc.+2020-05-23-15`14`07\n",
      "Predicted box:  tensor([[ 878.0508,  151.8286, 1021.8155,  197.9230]], device='cuda:0')\n",
      "Ground-truth box:  [ 881.  142. 1020.  200.]\n",
      "0.7736560730425057\n",
      "For brand:  Naver+2020-05-21-12`31`00\n",
      "Predicted box:  tensor([[616.4091,  50.9152, 746.1518, 164.7926],\n",
      "        [596.3266,  49.8753, 767.8995, 226.3762],\n",
      "        [600.3529, 185.6336, 766.2617, 232.2161],\n",
      "        [541.1284,  28.1922, 837.7029, 274.2929],\n",
      "        [596.4536,  42.2348, 858.3019, 172.9230]], device='cuda:0')\n",
      "Ground-truth box:  [544. 255. 600. 303.]\n",
      "0.014483642937931234\n",
      "For brand:  Lloyds TSB Group+2020-05-30-09`45`45\n",
      "Predicted box:  tensor([[ 924.3199,    2.9694,  977.4374,   47.6632],\n",
      "        [ 782.8500,   72.3359, 1100.8932,  111.1749]], device='cuda:0')\n",
      "Ground-truth box:  [921.   2. 977.  39.]\n",
      "0.7449561934643223\n",
      "For brand:  PostFinance+2020-05-11-14`59`33\n",
      "Predicted box:  tensor([[497.6874,  14.1346, 670.4437,  73.5612]], device='cuda:0')\n",
      "Ground-truth box:  [504.  18. 665.  71.]\n",
      "0.8311640865680078\n",
      "For brand:  IRS+2020-05-23-17`03`56\n",
      "Predicted box:  tensor([[384.8531,  25.3790, 540.3132,  93.5327]], device='cuda:0')\n",
      "Ground-truth box:  [376.  22. 555. 101.]\n",
      "0.7492531806379888\n",
      "For brand:  DGI (French Tax Authority)+2020-05-27-16`56`23\n",
      "Predicted box:  tensor([[378.0058,  23.3757, 783.3665, 100.7724],\n",
      "        [385.6075,  35.8979, 475.7655,  95.8230],\n",
      "        [492.1381,  30.0444, 778.1348,  83.2085]], device='cuda:0')\n",
      "Ground-truth box:  [386.  36. 477.  97.]\n",
      "0.9617375090762625\n",
      "For brand:  Steam+2020-05-25-11`55`15\n",
      "Predicted box:  tensor([[ 481.3895,   19.9646,  640.6932,   77.0020],\n",
      "        [1291.9116,  153.5969, 1419.4930,  214.0864]], device='cuda:0')\n",
      "Ground-truth box:  [483.  25. 639.  76.]\n",
      "0.8756076192287398\n",
      "For brand:  DHL Airways, Inc.+2020-05-19-06`15`26\n",
      "Predicted box:  tensor([[ 124.0462,   32.6617,  239.8380,   69.3265],\n",
      "        [ 122.3428,   26.5241,  322.7907,   74.3228],\n",
      "        [ 165.4162,  631.6176,  319.0494,  769.3173],\n",
      "        [ 149.1363,  611.5040, 1202.7458,  790.6730],\n",
      "        [ 111.3232,   22.9195,  244.4736,   86.6998]], device='cuda:0')\n",
      "Ground-truth box:  [131.  28. 250.  67.]\n",
      "0.725809321547805\n",
      "For brand:  Made-In-China+2020-05-25-02`08`32\n",
      "Predicted box:  tensor([[501.7584,  53.2377, 721.0969, 108.0762]], device='cuda:0')\n",
      "Ground-truth box:  [500.  63. 719. 116.]\n",
      "0.7074039953650783\n",
      "For brand:  Wells Fargo & Company+2020-05-25-07`13`50\n",
      "Predicted box:  tensor([[ 875.3246,    2.4384, 1040.7682,   34.0696],\n",
      "        [ 880.8474,   64.7860, 1018.6661,  106.0916],\n",
      "        [  15.1694,  450.3905,  197.8150,  501.4594]], device='cuda:0')\n",
      "Ground-truth box:  [ 879.    5. 1036.   27.]\n",
      "0.6600200537122078\n",
      "For brand:  Grupo Santander+2020-05-24-22`17`50\n",
      "Predicted box:  tensor([[ 23.2207,  30.6548,  74.6089,  66.7865],\n",
      "        [482.2735, 184.9393, 646.2140, 227.6166],\n",
      "        [ 24.6830,  23.2117, 245.2033,  71.4473],\n",
      "        [465.1094, 313.6956, 583.6334, 570.3632],\n",
      "        [ 76.3121,  29.9368, 239.8281,  56.5444]], device='cuda:0')\n",
      "Ground-truth box:  [483. 186. 649. 234.]\n",
      "0.8311679235435929\n",
      "For brand:  Made-In-China+2020-05-29-12`41`42\n",
      "Predicted box:  tensor([[501.7584,  53.2377, 721.0969, 108.0762]], device='cuda:0')\n",
      "Ground-truth box:  [504.  61. 729. 116.]\n",
      "0.7205827362654116\n",
      "For brand:  DocuSign+2020-05-02-15`44`01\n",
      "Predicted box:  tensor([[ 31.9777,  12.1489, 177.3122,  62.9337],\n",
      "        [587.3606, 274.6367, 799.4191, 319.4844],\n",
      "        [619.6294, 442.1208, 763.6625, 482.6562]], device='cuda:0')\n",
      "Ground-truth box:  [ 27.  13. 184.  69.]\n",
      "0.8139685123251845\n",
      "For brand:  Rackspace+2020-05-27-17`14`01\n",
      "Predicted box:  tensor([[1195.4402,  308.9192, 1350.1779,  356.0060],\n",
      "        [ 571.2631,  306.9972,  747.1344,  353.3596]], device='cuda:0')\n",
      "Ground-truth box:  [1198.  310. 1354.  359.]\n",
      "0.8829717718632711\n",
      "For brand:  DHL Airways, Inc.+2020-05-17-09`27`40\n",
      "Predicted box:  tensor([[137.3900,   8.7838, 258.4750,  39.5224]], device='cuda:0')\n",
      "Ground-truth box:  [138.   3. 255.  40.]\n",
      "0.8073536002228497\n",
      "For brand:  Netflix Inc.+2020-05-02-13`55`39\n",
      "Predicted box:  tensor([[ 31.1636,  12.7346, 220.4907,  79.2534],\n",
      "        [349.7369,  46.7867, 511.8544,  84.5991]], device='cuda:0')\n",
      "Ground-truth box:  [ 32.  10. 232.  83.]\n",
      "0.8555184873262015\n",
      "For brand:  TradeKey+2020-05-15-12`22`12\n",
      "Predicted box:  tensor([[291.0074,  27.4981, 512.2591,  74.0970]], device='cuda:0')\n",
      "Ground-truth box:  [292.  23. 512.  74.]\n",
      "0.9053731041814467\n",
      "For brand:  SunTrust Bank+2020-05-02-10`11`10\n",
      "Predicted box:  tensor([[575.6967,   3.9680, 803.0023,  61.9524],\n",
      "        [382.1226,  91.0997, 467.1349, 113.0855]], device='cuda:0')\n",
      "Ground-truth box:  [578.   2. 806.  60.]\n",
      "0.9137830883266734\n",
      "For brand:  Global Sources (HK)+2020-05-13-13`26`11\n",
      "Predicted box:  tensor([[277.6941,  19.1258, 553.5167,  71.3865],\n",
      "        [286.8027,  20.7714, 384.6713,  67.5365]], device='cuda:0')\n",
      "Ground-truth box:  [284.  18. 560.  80.]\n",
      "0.8075619489121105\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "For brand:  Spotify+2020-05-01-16`19`36\n",
      "Predicted box:  tensor([[576.2704,  20.9580, 786.0440,  86.6035],\n",
      "        [578.4382,  19.6394, 646.3828,  86.2477]], device='cuda:0')\n",
      "Ground-truth box:  [578.  15. 789.  88.]\n",
      "0.8801678973219459\n",
      "For brand:  Amazon.com Inc.+2020-05-29-13`06`34\n",
      "Predicted box:  tensor([[ 877.4829,    6.7257, 1037.6201,   51.4460]], device='cuda:0')\n",
      "Ground-truth box:  [ 881.    5. 1003.   41.]\n",
      "0.567215142287009\n",
      "For brand:  M & T Bank Coporation+2020-05-18-15`59`30\n",
      "Predicted box:  tensor([[196.9194,   3.7722, 366.0959,  54.9658],\n",
      "        [196.5530,  74.0468, 288.1344, 105.7931]], device='cuda:0')\n",
      "Ground-truth box:  [206.  16. 367.  52.]\n",
      "0.662977328991683\n",
      "For brand:  International Card Services B.V+2020-05-09-15`38`38\n",
      "Predicted box:  tensor([[201.0804,  27.2207, 335.9004,  81.5436],\n",
      "        [214.3295, 148.8695, 503.5730, 185.7433]], device='cuda:0')\n",
      "Ground-truth box:  [193.  15. 343.  91.]\n",
      "0.6424391470345905\n",
      "For brand:  ATB Financial+2020-05-13-11`58`22\n",
      "Predicted box:  tensor([[407.7584,  53.4601, 955.4991, 116.7840],\n",
      "        [403.5987,  42.0301, 962.6487, 166.6058]], device='cuda:0')\n",
      "Ground-truth box:  [682.  53. 797. 113.]\n",
      "0.1971066643676016\n",
      "For brand:  Alibaba+2020-05-29-12`52`26\n",
      "Predicted box:  tensor([[359.2795,  29.4965, 558.7654,  74.6780],\n",
      "        [329.8257,  22.0526, 632.1071,  85.1562]], device='cuda:0')\n",
      "Ground-truth box:  [356.  32. 556.  75.]\n",
      "0.9108427449042866\n",
      "For brand:  Made-In-China+2020-05-21-10`06`02\n",
      "Predicted box:  tensor([[221.3692,  58.2229, 444.1585, 105.5456]], device='cuda:0')\n",
      "Ground-truth box:  [227.  59. 440. 110.]\n",
      "0.8627224862904591\n",
      "For brand:  DGI (French Tax Authority)+2020-05-22-22`32`26\n",
      "Predicted box:  tensor([[378.0058,  23.3757, 783.3665, 100.7724],\n",
      "        [385.6075,  35.8979, 475.7655,  95.8230],\n",
      "        [492.1381,  30.0444, 778.1348,  83.2085]], device='cuda:0')\n",
      "Ground-truth box:  [386.  39. 471. 102.]\n",
      "0.814800803572308\n",
      "For brand:  RBC Royal Bank+2020-05-17-08`29`46\n",
      "Predicted box:  tensor([[ 78.3452,   6.2895, 133.5938,  64.7739],\n",
      "        [ 74.1883,   1.5524, 258.5953,  68.8290],\n",
      "        [ 91.1186,  66.2755, 257.9660,  94.3879]], device='cuda:0')\n",
      "Ground-truth box:  [ 75.   9. 130.  71.]\n",
      "0.7661817152626752\n",
      "For brand:  1&1 Ionos+2020-05-03-12`04`42\n",
      "Predicted box:  tensor([[ 19.9535,  10.2113, 150.9498,  56.3683],\n",
      "        [  6.2797,   7.1649, 266.8722,  60.9043]], device='cuda:0')\n",
      "Ground-truth box:  [ 16.   8. 165.  55.]\n",
      "0.8168973053395666\n",
      "For brand:  Yahoo! Inc+2020-05-24-12`37`06\n",
      "Predicted box:  tensor([[   8.7399,    4.5627,  142.7037,   49.1334],\n",
      "        [1228.2864,   91.6300, 1360.8988,  138.4347],\n",
      "        [ 423.6578,   90.4654,  800.8954,  397.4789],\n",
      "        [ 422.9616,   89.3913,  780.5287,  198.1922],\n",
      "        [ 478.6154,  116.0536,  736.7797,  176.0085],\n",
      "        [1871.0548,   17.9815, 1907.4285,   42.4396]], device='cuda:0')\n",
      "Ground-truth box:  [  5.   5. 140.  48.]\n",
      "0.920496644540534\n",
      "For brand:  LinkedIn Corporation+2020-05-18-14`11`45\n",
      "Predicted box:  tensor([[603.4427,  19.5010, 755.9678,  63.3349]], device='cuda:0')\n",
      "Ground-truth box:  [600.  28. 766.  67.]\n",
      "0.6935969440157317\n",
      "For brand:  Free (ISP)+2020-05-29-14`49`01\n",
      "Predicted box:  tensor([[453.7249,   8.3467, 589.1559,  57.3468],\n",
      "        [455.5251,   7.7201, 891.1574,  59.1754],\n",
      "        [569.1844, 153.4191, 809.3999, 225.4407]], device='cuda:0')\n",
      "Ground-truth box:  [451.   2. 588.  60.]\n",
      "0.8221642807010969\n",
      "For brand:  WeTransfer+2020-05-24-15`53`03\n",
      "Predicted box:  tensor([[ 11.1772,  13.2351,  68.3742,  43.6105],\n",
      "        [113.4365, 272.4242, 331.7137, 434.1358],\n",
      "        [172.0637, 281.1123, 281.4553, 382.6946]], device='cuda:0')\n",
      "Ground-truth box:  [11.  8. 71. 47.]\n",
      "0.7424690779586991\n",
      "For brand:  Discover+2020-05-02-00`02`17\n",
      "Predicted box:  tensor([[203.1654,  14.1974, 332.3723,  47.9037],\n",
      "        [200.0505,   8.3329, 448.0481,  51.4343]], device='cuda:0')\n",
      "Ground-truth box:  [202.   6. 326.  48.]\n",
      "0.763499718411515\n",
      "For brand:  IRS+2020-05-14-17`50`20\n",
      "Predicted box:  tensor([[111.4888,  27.8506, 264.3531,  91.5077],\n",
      "        [120.8406, 560.6351, 258.9327, 617.6187]], device='cuda:0')\n",
      "Ground-truth box:  [116.  25. 262.  87.]\n",
      "0.8510629135900322\n",
      "For brand:  U.S. Bank+2020-05-01-13`46`39\n",
      "Predicted box:  tensor([[105.8027,   8.4326, 321.6032,  69.4552],\n",
      "        [112.6332,  10.3255, 207.5231,  67.1513],\n",
      "        [ 82.3660,   4.4742, 479.7827,  73.9553]], device='cuda:0')\n",
      "Ground-truth box:  [113.  10. 321.  63.]\n",
      "0.8371360958572573\n",
      "For brand:  Banco do Brasil S.A.+2020-05-23-16`22`58\n",
      "Predicted box:  tensor([[ 487.1118,   19.8792,  649.7551,  143.2731],\n",
      "        [ 489.5560,  871.7911,  752.0351, 1068.9974],\n",
      "        [ 735.0951,   49.6829, 1000.0977,   98.7993]], device='cuda:0')\n",
      "Ground-truth box:  [493.  21. 650. 141.]\n",
      "0.9359166413216164\n",
      "For brand:  Itau Unibanco S.A+2020-05-09-12`42`57\n",
      "Predicted box:  tensor([[ 13.1475,   7.7399, 216.5988,  64.6931]], device='cuda:0')\n",
      "Ground-truth box:  [  3.   6. 228.  76.]\n",
      "0.7356957027483557\n",
      "For brand:  EarthLink+2020-05-16-19`06`58\n",
      "Predicted box:  tensor([[ 16.2438,   1.8055, 148.8822,  33.1802],\n",
      "        [483.2550,   4.0946, 553.2623,  31.3507]], device='cuda:0')\n",
      "Ground-truth box:  [ 12.   2. 149.  32.]\n",
      "0.9270358892500361\n",
      "For brand:  Chronopost International+2020-05-02-09`06`33\n",
      "Predicted box:  tensor([[6.0232e-02, 2.7115e+01, 2.9775e+02, 1.0857e+02],\n",
      "        [0.0000e+00, 3.3248e+01, 5.6908e+01, 1.0645e+02]], device='cuda:0')\n",
      "Ground-truth box:  [  2.  33. 290.  95.]\n",
      "0.736379716107544\n",
      "For brand:  Bank of The Bahamas Limited+2020-05-19-10`24`29\n",
      "Predicted box:  tensor([[  13.3838,   40.1469,  224.4721,  137.9048],\n",
      "        [ 169.1419,  157.0552, 1208.2579,  270.3390],\n",
      "        [ 695.5411,  162.2618, 1181.7719,  266.6138],\n",
      "        [ 214.2291,  162.1579,  468.0729,  266.4148]], device='cuda:0')\n",
      "Ground-truth box:  [  9.  40. 225. 143.]\n",
      "0.927523909133703\n",
      "For brand:  DocuSign+2020-05-02-07`10`30\n",
      "Predicted box:  tensor([[ 31.9777,  12.1489, 177.3122,  62.9337],\n",
      "        [587.3606, 274.6367, 799.4191, 319.4844],\n",
      "        [619.6294, 442.1208, 763.6625, 482.6562]], device='cuda:0')\n",
      "Ground-truth box:  [ 29.  12. 182.  67.]\n",
      "0.8770980930401352\n",
      "For brand:  Steam+2020-05-27-14`26`57\n",
      "Predicted box:  tensor([[472.4467,  20.7495, 632.3611,  76.9967],\n",
      "        [470.2729,  96.4942, 672.5819, 314.6017],\n",
      "        [473.8723,  23.2346, 527.3934,  77.7365]], device='cuda:0')\n",
      "Ground-truth box:  [475.  26. 632.  75.]\n",
      "0.8552775239483963\n",
      "For brand:  LinkedIn Corporation+2020-05-14-19`23`38\n",
      "Predicted box:  tensor([[603.4380,  19.5009, 755.9749,  63.3130]], device='cuda:0')\n",
      "Ground-truth box:  [602.  22. 762.  67.]\n",
      "0.8312344782027113\n",
      "For brand:  Lloyds TSB Group+2020-05-27-10`02`47\n",
      "Predicted box:  tensor([[ 924.3199,    2.9694,  977.4374,   47.6632],\n",
      "        [ 782.8500,   72.3359, 1100.8932,  111.1749]], device='cuda:0')\n",
      "Ground-truth box:  [922.   2. 980.  46.]\n",
      "0.8656728314715642\n",
      "For brand:  Credit Agricole S.A.+2020-05-19-02`31`23\n",
      "Predicted box:  tensor([[377.3462,  17.4536, 679.5646, 100.1800],\n",
      "        [379.8929,  18.4245, 479.6602,  89.5194],\n",
      "        [385.4956, 359.1158, 498.1329, 388.0006]], device='cuda:0')\n",
      "Ground-truth box:  [379.  17. 483.  93.]\n",
      "0.8973869176666448\n",
      "For brand:  Adobe Inc.+2020-05-10-23`25`50\n",
      "Predicted box:  tensor([[6.1354e+02, 9.5148e+01, 7.4873e+02, 2.1431e+02],\n",
      "        [1.0402e+02, 1.5829e+00, 1.5430e+02, 5.1773e+01],\n",
      "        [8.9330e+00, 2.8205e-01, 1.6339e+02, 5.3320e+01],\n",
      "        [5.8353e+02, 9.0406e+01, 7.8592e+02, 2.5436e+02],\n",
      "        [9.4429e+00, 8.7515e+00, 4.1268e+01, 4.2142e+01],\n",
      "        [2.1203e+02, 2.9378e+01, 4.5279e+02, 5.4636e+01],\n",
      "        [3.2758e+01, 6.8832e-01, 4.6074e+02, 5.9183e+01],\n",
      "        [1.6967e+00, 3.1507e+00, 5.1870e+01, 5.0632e+01]], device='cuda:0')\n",
      "Ground-truth box:  [625. 103. 741. 209.]\n",
      "0.7632552748762739\n",
      "For brand:  Amazon.com Inc.+2020-05-23-18`44`35\n",
      "Predicted box:  tensor([[ 902.1107,    5.3314, 1019.9830,   51.6811]], device='cuda:0')\n",
      "Ground-truth box:  [ 895.    3. 1018.   43.]\n",
      "0.7253928488898052\n",
      "For brand:  Wells Fargo & Company+2020-05-24-22`19`43\n",
      "Predicted box:  tensor([[471.5604,   2.9876, 543.5488,  66.4699]], device='cuda:0')\n",
      "Ground-truth box:  [477.   3. 540.  66.]\n",
      "0.8684930278883521\n",
      "For brand:  PayPal Inc.+2020-05-26-11`30`29\n",
      "Predicted box:  tensor([[ 387.3687,   10.1625,  535.1451,   60.3135],\n",
      "        [ 825.9849,   93.0115, 1066.6084,  134.2029]], device='cuda:0')\n",
      "Ground-truth box:  [386.  11. 527.  60.]\n",
      "0.9149165172805169\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "For brand:  RBC Royal Bank+2020-05-16-11`00`14\n",
      "Predicted box:  tensor([[ 78.3452,   6.2895, 133.5938,  64.7739],\n",
      "        [ 74.1883,   1.5524, 258.5953,  68.8290],\n",
      "        [ 91.1186,  66.2755, 257.9660,  94.3879]], device='cuda:0')\n",
      "Ground-truth box:  [ 77.   4. 128.  77.]\n",
      "0.7170179783727091\n",
      "For brand:  Itau Unibanco S.A+2020-05-02-15`51`54\n",
      "Predicted box:  tensor([[ 21.5264,  15.0169,  79.8810,  70.9734],\n",
      "        [ 17.7193,  17.0095, 280.1321,  73.7398]], device='cuda:0')\n",
      "Ground-truth box:  [26. 17. 79. 67.]\n",
      "0.8115601236120749\n",
      "For brand:  Lloyds TSB Group+2020-05-30-14`35`29\n",
      "Predicted box:  tensor([[ 924.3199,    2.9694,  977.4374,   47.6632],\n",
      "        [ 782.8500,   72.3359, 1100.8932,  111.1749]], device='cuda:0')\n",
      "Ground-truth box:  [921.   3. 979.  39.]\n",
      "0.7499554736488269\n",
      "For brand:  Itau Unibanco S.A+2020-05-07-23`17`30\n",
      "Predicted box:  tensor([[ 151.7376,  361.9861, 1130.1006,  550.7097],\n",
      "        [ 816.2442,  297.9148, 1169.7570,  539.7837],\n",
      "        [ 954.5096,  304.8242, 1148.2524,  521.0833],\n",
      "        [ 191.0979,  387.5538,  751.5334,  550.7167],\n",
      "        [ 484.9674,  278.4254, 1181.1196,  560.5013],\n",
      "        [ 996.4368,  384.9543, 1122.4812,  463.7418]], device='cuda:0')\n",
      "Ground-truth box:  [ 190.  317. 1195.  554.]\n",
      "0.7229619873325234\n",
      "For brand:  Grupo Santander+2020-05-24-19`21`42\n",
      "Predicted box:  tensor([[310.1193,  16.1095, 543.1999,  76.3097]], device='cuda:0')\n",
      "Ground-truth box:  [314.  20. 545.  79.]\n",
      "0.874738066788186\n",
      "For brand:  DGI (French Tax Authority)+2020-05-23-18`18`14\n",
      "Predicted box:  tensor([[380.0560,  22.9624, 784.2180,  99.0961],\n",
      "        [389.3467,  36.1622, 479.5952,  95.3549]], device='cuda:0')\n",
      "Ground-truth box:  [393.  34. 480.  97.]\n",
      "0.8996963771326753\n",
      "For brand:  SF Express Co.+2020-05-27-15`13`23\n",
      "Predicted box:  tensor([[2.8904e+02, 2.2912e+00, 4.9943e+02, 5.4761e+01],\n",
      "        [5.6255e+02, 1.3164e+01, 9.8538e+02, 4.3820e+01],\n",
      "        [2.9606e+02, 3.8238e+00, 3.4816e+02, 5.3454e+01],\n",
      "        [2.9314e+02, 1.8084e+00, 3.9448e+02, 5.2144e+01],\n",
      "        [8.6858e+02, 6.1218e+01, 1.2532e+03, 2.5608e+02],\n",
      "        [3.7908e+02, 1.1441e+00, 9.8430e+02, 5.0705e+01]], device='cuda:0')\n",
      "Ground-truth box:  [297.   3. 350.  54.]\n",
      "0.9234541603044428\n",
      "For brand:  Netflix Inc.+2020-05-24-19`30`35\n",
      "Predicted box:  tensor([[  38.7339,   10.3887,  233.9510,   76.3555],\n",
      "        [1510.6613,   34.0977, 1752.3528,  135.4049],\n",
      "        [ 617.9805,   56.8495,  737.9426,  111.6996],\n",
      "        [1503.0237,   18.3754, 1841.4298,  183.6642],\n",
      "        [ 797.8091,  148.2431,  913.5134,  188.5568]], device='cuda:0')\n",
      "Ground-truth box:  [ 44.   5. 243.  87.]\n",
      "0.7518850618451032\n",
      "For brand:  Universo Online+2020-05-24-14`50`52\n",
      "Predicted box:  tensor([[454.5219,  17.8327, 657.9589,  73.9189]], device='cuda:0')\n",
      "Ground-truth box:  [461.  23. 580.  71.]\n",
      "0.5006134964937655\n",
      "For brand:  Banco do Brasil S.A.+2020-05-12-14`48`23\n",
      "Predicted box:  tensor([[   2.5617,  728.1016,  143.2916,  768.0000],\n",
      "        [ 631.3342,   23.1076,  926.5339,  115.8756],\n",
      "        [ 569.7153,   14.9958, 1011.4654,  256.8535],\n",
      "        [ 711.8813,   27.1299,  804.3466,  111.3156],\n",
      "        [ 625.9532,   23.7091,  724.9482,  115.3392]], device='cuda:0')\n",
      "Ground-truth box:  [  7. 729. 152. 763.]\n",
      "0.783950237315937\n",
      "For brand:  DGI (French Tax Authority)+2020-05-11-14`54`11\n",
      "Predicted box:  tensor([[213.2580,   7.6058, 335.0699, 135.8336],\n",
      "        [222.6226,  12.7606, 742.8771, 130.5157],\n",
      "        [350.8156,  33.0369, 739.2196, 105.6447],\n",
      "        [363.9651,  37.5369, 573.0192,  96.5580]], device='cuda:0')\n",
      "Ground-truth box:  [222.   9. 325.  73.]\n",
      "0.4220315959804321\n",
      "For brand:  Universo Online+2020-05-24-14`31`26\n",
      "Predicted box:  tensor([[454.9933,  18.0466, 657.9791,  73.7058],\n",
      "        [199.1503, 127.1016, 575.9706, 538.5641]], device='cuda:0')\n",
      "Ground-truth box:  [459.  23. 582.  73.]\n",
      "0.5443419198188171\n",
      "For brand:  M & T Bank Coporation+2020-05-16-10`56`01\n",
      "Predicted box:  tensor([[610.7418,   5.4179, 752.1721,  45.4357]], device='cuda:0')\n",
      "Ground-truth box:  [611.   3. 753.  48.]\n",
      "0.8826722878488814\n",
      "For brand:  Deutsche Telekom+2020-05-15-10`22`06\n",
      "Predicted box:  tensor([], device='cuda:0', size=(0, 4))\n",
      "Ground-truth box:  [626. 427. 698. 473.]\n",
      "0\n",
      "For brand:  RBC Royal Bank+2020-05-24-03`21`18\n",
      "Predicted box:  tensor([[358.7514,  11.4269, 415.7934,  71.5285],\n",
      "        [351.8460,   8.5727, 582.7478,  74.9773]], device='cuda:0')\n",
      "Ground-truth box:  [360.  13. 584.  71.]\n",
      "0.8386165086373133\n",
      "For brand:  Chronopost International+2020-05-02-05`55`51\n",
      "Predicted box:  tensor([[6.0232e-02, 2.7115e+01, 2.9775e+02, 1.0857e+02],\n",
      "        [0.0000e+00, 3.3248e+01, 5.6908e+01, 1.0645e+02]], device='cuda:0')\n",
      "Ground-truth box:  [  1.  35. 294.  98.]\n",
      "0.7612473778914177\n",
      "For brand:  Office365+2020-05-15-09`37`27\n",
      "Predicted box:  tensor([[505.8356, 188.9446, 631.6552, 229.0173],\n",
      "        [501.7743, 189.4039, 862.0309, 236.1051],\n",
      "        [511.6341, 194.7265, 539.3773, 226.3230],\n",
      "        [800.3762, 186.0466, 857.2820, 238.7990]], device='cuda:0')\n",
      "Ground-truth box:  [502. 187. 638. 231.]\n",
      "0.8425681233015961\n",
      "For brand:  eBay Inc.+2020-05-22-13`21`39\n",
      "Predicted box:  tensor([[  10.1537,    8.5952,  142.6914,   68.4506],\n",
      "        [ 824.9553,   74.4765, 1087.4187,  154.5324],\n",
      "        [ 937.4739,   74.7129,  982.9797,  116.2320],\n",
      "        [ 865.0189,   70.1063, 1071.6932,  123.2938],\n",
      "        [ 832.9272,  112.9739, 1083.4779,  146.9136]], device='cuda:0')\n",
      "Ground-truth box:  [ 10.  14. 140.  70.]\n",
      "0.8682687202162254\n",
      "For brand:  Americanas.com S,A Comercio Electrnico+2020-05-23-11`51`22\n",
      "Predicted box:  tensor([[305.5223,  16.7591, 544.5635,  67.1630]], device='cuda:0')\n",
      "Ground-truth box:  [314.  19. 543.  66.]\n",
      "0.8932985451060137\n",
      "For brand:  Deutsche Telekom+2020-05-21-10`52`31\n",
      "Predicted box:  tensor([[ 172.7636,   18.0732,  251.3410,   63.3302],\n",
      "        [ 623.3117,   85.3039,  746.5219,  110.2271],\n",
      "        [1009.6815,   24.8710, 1192.1885,   58.0733],\n",
      "        [ 474.6700,  168.7780,  901.8619,  215.3997]], device='cuda:0')\n",
      "Ground-truth box:  [163.  15. 256.  64.]\n",
      "0.7803768709019799\n",
      "For brand:  American Express+2020-05-12-13`25`40\n",
      "Predicted box:  tensor([[ 77.2227,  11.4099, 131.9905,  61.6261],\n",
      "        [127.0142,  19.3398, 229.1091,  55.9647],\n",
      "        [ 78.6623,   9.9618, 237.2054,  65.4374],\n",
      "        [638.9157, 862.5416, 724.9636, 940.6993]], device='cuda:0')\n",
      "Ground-truth box:  [ 81.  15. 130.  62.]\n",
      "0.8252250545866973\n",
      "For brand:  Dropbox, Inc.+2020-05-21-11`38`14\n",
      "Predicted box:  tensor([[184.1932,  11.6329, 233.7493,  58.1237],\n",
      "        [323.9359, 138.8618, 498.7421, 327.8730],\n",
      "        [277.6483, 119.2610, 563.1425, 443.3423],\n",
      "        [681.1785, 126.3923, 995.7827, 171.1521],\n",
      "        [716.6219, 254.3893, 831.3064, 308.0095],\n",
      "        [178.0144,   9.4513, 314.2431,  61.0879]], device='cuda:0')\n",
      "Ground-truth box:  [181.  11. 242.  60.]\n",
      "0.7707929833142483\n",
      "For brand:  Americanas.com S,A Comercio Electrnico+2020-05-26-11`52`02\n",
      "Predicted box:  tensor([[305.5223,  16.7591, 544.5635,  67.1630]], device='cuda:0')\n",
      "Ground-truth box:  [312.  19. 540.  65.]\n",
      "0.8704743232436934\n",
      "For brand:  Navy Federal Credit Union+2020-05-01-20`44`25\n",
      "Predicted box:  tensor([[259.4127,  13.7891, 384.0112,  97.8289],\n",
      "        [249.5427,   9.5502, 485.1868, 104.3426]], device='cuda:0')\n",
      "Ground-truth box:  [253.   7. 487. 105.]\n",
      "0.9462510120784234\n",
      "For brand:  Grupo Santander+2020-05-02-18`50`52\n",
      "Predicted box:  tensor([[577.0833,   3.8135, 787.7077,  57.0411],\n",
      "        [  6.0817,  77.5852,  84.3472, 150.7328],\n",
      "        [582.2948,   2.9179, 632.9508,  51.4689]], device='cuda:0')\n",
      "Ground-truth box:  [571.   5. 796.  61.]\n",
      "0.8530131188631425\n",
      "For brand:  Grupo Santander+2020-05-13-12`38`46\n",
      "Predicted box:  tensor([[311.7300,  18.6605, 548.7034,  79.9072]], device='cuda:0')\n",
      "Ground-truth box:  [307.  20. 544.  80.]\n",
      "0.9389621148651051\n",
      "For brand:  Global Sources (HK)+2020-05-09-11`51`52\n",
      "Predicted box:  tensor([[277.6941,  19.1258, 553.5167,  71.3865],\n",
      "        [286.8027,  20.7714, 384.6713,  67.5365]], device='cuda:0')\n",
      "Ground-truth box:  [287.  17. 553.  80.]\n",
      "0.8048795593039171\n",
      "For brand:  Chase Personal Banking+2020-05-19-12`51`54\n",
      "Predicted box:  tensor([[592.3514,  17.9823, 776.8884,  60.8257],\n",
      "        [337.6571,  84.4196, 466.7850, 184.8016],\n",
      "        [532.0980, 324.8056, 839.5545, 400.4938]], device='cuda:0')\n",
      "Ground-truth box:  [595.  16. 776.  64.]\n",
      "0.8772692290143616\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "For brand:  DHL Airways, Inc.+2020-05-23-14`47`33\n",
      "Predicted box:  tensor([[435.2104,  26.3647, 900.8998, 158.8803],\n",
      "        [536.1733,  67.7598, 826.4750, 132.0608],\n",
      "        [376.5663,   3.0166, 951.5991,  52.9067]], device='cuda:0')\n",
      "Ground-truth box:  [548.  63. 830. 137.]\n",
      "0.8279012406524089\n",
      "For brand:  Apple Inc.+2020-05-27-10`52`35\n",
      "Predicted box:  tensor([[ 223.1325,   57.5177,  325.2624,   93.2605],\n",
      "        [ 590.0721,  852.2447, 1269.0571,  963.1361],\n",
      "        [ 457.2112,    5.7906,  482.0461,   34.0402]], device='cuda:0')\n",
      "Ground-truth box:  [454.   8. 485.  36.]\n",
      "0.7007558263902165\n"
     ]
    }
   ],
   "source": [
    "\n",
    "cfg_path = 'output/rcnn_2/config.yaml'\n",
    "weights_path = 'output/rcnn_2/model_final.pth'\n",
    "folder = '../phishpedia/benchmark/Sampled_phish1000'\n",
    "conf_threshold = 0.05\n",
    "iou_low_threshold = 0.5\n",
    "\n",
    "cfg = get_cfg()\n",
    "cfg.merge_from_file(cfg_path)\n",
    "cfg.MODEL.WEIGHTS = weights_path\n",
    "cfg.MODEL.ROI_HEADS.SCORE_THRESH_TEST = conf_threshold\n",
    "\n",
    "# Initialize model\n",
    "predictor = DefaultPredictor(cfg)\n",
    "\n",
    "hard = []\n",
    "hard_pred_boxes = []\n",
    "hard_scores = []\n",
    "for brand in os.listdir(folder):\n",
    "    img_path = folder + '/' + brand + '/shot.png'\n",
    "    im = cv2.imread(img_path)\n",
    "    pred_boxes, scores = pred(predictor, im)\n",
    "\n",
    "    print('For brand: ', brand)\n",
    "    print('Predicted box: ', pred_boxes)\n",
    "\n",
    "    ## get ground-truth box from annotation file\n",
    "    lines = open('../phishpedia/benchmark/phish1000_coord.txt').readlines()\n",
    "    for line in lines:\n",
    "        line = line.strip()\n",
    "        site = ','.join(line.split(',')[:-4])\n",
    "        x1, y1, x2, y2 = list(map(lambda x: float(x), line.split(',')[-4:]))\n",
    "        if site == brand:\n",
    "            gt_bbox = np.array([x1, y1, x2, y2])\n",
    "            break\n",
    "\n",
    "    print('Ground-truth box: ', gt_bbox)\n",
    "\n",
    "    ## compute iou for each pred_bbox\n",
    "    max_iou = 0\n",
    "    for pred_ in pred_boxes: \n",
    "        pred_ = pred_.detach().cpu().numpy()\n",
    "        iou = iou_compute(pred_, gt_bbox)\n",
    "        if iou > max_iou:\n",
    "            max_iou = iou\n",
    "\n",
    "    print(max_iou)\n",
    "\n",
    "    if max_iou < iou_low_threshold: ## hard cases\n",
    "        hard.append(brand)\n",
    "        hard_pred_boxes.append(pred_boxes.detach().cpu())\n",
    "        hard_scores.append(scores.detach().cpu())\n",
    "\n",
    "    del pred_boxes, scores\n",
    "\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 8,
   "metadata": {},
   "outputs": [],
   "source": [
    "with open('hard_cases.txt', 'w') as f:\n",
    "    for i in range(len(hard)):\n",
    "        f.write(hard[i])\n",
    "        f.write('\\n')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 9,
   "metadata": {},
   "outputs": [],
   "source": [
    "dict = {'pred_box': hard_pred_boxes, 'pred_score': hard_scores}"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 10,
   "metadata": {},
   "outputs": [
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "/home/l/liny/anaconda3/envs/mypy37/lib/python3.7/site-packages/torch/storage.py:34: FutureWarning: pickle support for Storage will be removed in 1.5. Use `torch.save` instead\n",
      "  warnings.warn(\"pickle support for Storage will be removed in 1.5. Use `torch.save` instead\", FutureWarning)\n"
     ]
    }
   ],
   "source": [
    "import pickle\n",
    "with open('hard_cases_pred.pkl', 'wb') as handle:\n",
    "    pickle.dump(dict, handle)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Get feature map "
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "metadata": {},
   "outputs": [],
   "source": [
    "from detectron2.modeling import build_backbone, build_resnet_backbone, build_model\n",
    "from detectron2.modeling.poolers import ROIPooler\n",
    "import detectron2.data.transforms as T"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "metadata": {},
   "outputs": [],
   "source": [
    "cfg = get_cfg()\n",
    "cfg_path = 'output/rcnn_2/config.yaml'\n",
    "weights_path = 'output/rcnn_2/model_final.pth'\n",
    "cfg.merge_from_file(cfg_path)\n",
    "cfg.MODEL.WEIGHTS = weights_path\n",
    "\n",
    "predictor = DefaultPredictor(cfg)\n",
    "backbone = predictor.model.backbone"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "metadata": {},
   "outputs": [
    {
     "output_type": "execute_result",
     "data": {
      "text/plain": "GeneralizedRCNN(\n  (backbone): FPN(\n    (fpn_lateral2): Conv2d(256, 256, kernel_size=(1, 1), stride=(1, 1))\n    (fpn_output2): Conv2d(256, 256, kernel_size=(3, 3), stride=(1, 1), padding=(1, 1))\n    (fpn_lateral3): Conv2d(512, 256, kernel_size=(1, 1), stride=(1, 1))\n    (fpn_output3): Conv2d(256, 256, kernel_size=(3, 3), stride=(1, 1), padding=(1, 1))\n    (fpn_lateral4): Conv2d(1024, 256, kernel_size=(1, 1), stride=(1, 1))\n    (fpn_output4): Conv2d(256, 256, kernel_size=(3, 3), stride=(1, 1), padding=(1, 1))\n    (fpn_lateral5): Conv2d(2048, 256, kernel_size=(1, 1), stride=(1, 1))\n    (fpn_output5): Conv2d(256, 256, kernel_size=(3, 3), stride=(1, 1), padding=(1, 1))\n    (top_block): LastLevelMaxPool()\n    (bottom_up): ResNet(\n      (stem): BasicStem(\n        (conv1): Conv2d(\n          3, 64, kernel_size=(7, 7), stride=(2, 2), padding=(3, 3), bias=False\n          (norm): FrozenBatchNorm2d(num_features=64, eps=1e-05)\n        )\n      )\n      (res2): Sequential(\n        (0): BottleneckBlock(\n          (shortcut): Conv2d(\n            64, 256, kernel_size=(1, 1), stride=(1, 1), bias=False\n            (norm): FrozenBatchNorm2d(num_features=256, eps=1e-05)\n          )\n          (conv1): Conv2d(\n            64, 64, kernel_size=(1, 1), stride=(1, 1), bias=False\n            (norm): FrozenBatchNorm2d(num_features=64, eps=1e-05)\n          )\n          (conv2): Conv2d(\n            64, 64, kernel_size=(3, 3), stride=(1, 1), padding=(1, 1), bias=False\n            (norm): FrozenBatchNorm2d(num_features=64, eps=1e-05)\n          )\n          (conv3): Conv2d(\n            64, 256, kernel_size=(1, 1), stride=(1, 1), bias=False\n            (norm): FrozenBatchNorm2d(num_features=256, eps=1e-05)\n          )\n        )\n        (1): BottleneckBlock(\n          (conv1): Conv2d(\n            256, 64, kernel_size=(1, 1), stride=(1, 1), bias=False\n            (norm): FrozenBatchNorm2d(num_features=64, eps=1e-05)\n          )\n          (conv2): Conv2d(\n            64, 64, kernel_size=(3, 3), stride=(1, 1), padding=(1, 1), bias=False\n            (norm): FrozenBatchNorm2d(num_features=64, eps=1e-05)\n          )\n          (conv3): Conv2d(\n            64, 256, kernel_size=(1, 1), stride=(1, 1), bias=False\n            (norm): FrozenBatchNorm2d(num_features=256, eps=1e-05)\n          )\n        )\n        (2): BottleneckBlock(\n          (conv1): Conv2d(\n            256, 64, kernel_size=(1, 1), stride=(1, 1), bias=False\n            (norm): FrozenBatchNorm2d(num_features=64, eps=1e-05)\n          )\n          (conv2): Conv2d(\n            64, 64, kernel_size=(3, 3), stride=(1, 1), padding=(1, 1), bias=False\n            (norm): FrozenBatchNorm2d(num_features=64, eps=1e-05)\n          )\n          (conv3): Conv2d(\n            64, 256, kernel_size=(1, 1), stride=(1, 1), bias=False\n            (norm): FrozenBatchNorm2d(num_features=256, eps=1e-05)\n          )\n        )\n      )\n      (res3): Sequential(\n        (0): BottleneckBlock(\n          (shortcut): Conv2d(\n            256, 512, kernel_size=(1, 1), stride=(2, 2), bias=False\n            (norm): FrozenBatchNorm2d(num_features=512, eps=1e-05)\n          )\n          (conv1): Conv2d(\n            256, 128, kernel_size=(1, 1), stride=(2, 2), bias=False\n            (norm): FrozenBatchNorm2d(num_features=128, eps=1e-05)\n          )\n          (conv2): Conv2d(\n            128, 128, kernel_size=(3, 3), stride=(1, 1), padding=(1, 1), bias=False\n            (norm): FrozenBatchNorm2d(num_features=128, eps=1e-05)\n          )\n          (conv3): Conv2d(\n            128, 512, kernel_size=(1, 1), stride=(1, 1), bias=False\n            (norm): FrozenBatchNorm2d(num_features=512, eps=1e-05)\n          )\n        )\n        (1): BottleneckBlock(\n          (conv1): Conv2d(\n            512, 128, kernel_size=(1, 1), stride=(1, 1), bias=False\n            (norm): FrozenBatchNorm2d(num_features=128, eps=1e-05)\n          )\n          (conv2): Conv2d(\n            128, 128, kernel_size=(3, 3), stride=(1, 1), padding=(1, 1), bias=False\n            (norm): FrozenBatchNorm2d(num_features=128, eps=1e-05)\n          )\n          (conv3): Conv2d(\n            128, 512, kernel_size=(1, 1), stride=(1, 1), bias=False\n            (norm): FrozenBatchNorm2d(num_features=512, eps=1e-05)\n          )\n        )\n        (2): BottleneckBlock(\n          (conv1): Conv2d(\n            512, 128, kernel_size=(1, 1), stride=(1, 1), bias=False\n            (norm): FrozenBatchNorm2d(num_features=128, eps=1e-05)\n          )\n          (conv2): Conv2d(\n            128, 128, kernel_size=(3, 3), stride=(1, 1), padding=(1, 1), bias=False\n            (norm): FrozenBatchNorm2d(num_features=128, eps=1e-05)\n          )\n          (conv3): Conv2d(\n            128, 512, kernel_size=(1, 1), stride=(1, 1), bias=False\n            (norm): FrozenBatchNorm2d(num_features=512, eps=1e-05)\n          )\n        )\n        (3): BottleneckBlock(\n          (conv1): Conv2d(\n            512, 128, kernel_size=(1, 1), stride=(1, 1), bias=False\n            (norm): FrozenBatchNorm2d(num_features=128, eps=1e-05)\n          )\n          (conv2): Conv2d(\n            128, 128, kernel_size=(3, 3), stride=(1, 1), padding=(1, 1), bias=False\n            (norm): FrozenBatchNorm2d(num_features=128, eps=1e-05)\n          )\n          (conv3): Conv2d(\n            128, 512, kernel_size=(1, 1), stride=(1, 1), bias=False\n            (norm): FrozenBatchNorm2d(num_features=512, eps=1e-05)\n          )\n        )\n      )\n      (res4): Sequential(\n        (0): BottleneckBlock(\n          (shortcut): Conv2d(\n            512, 1024, kernel_size=(1, 1), stride=(2, 2), bias=False\n            (norm): FrozenBatchNorm2d(num_features=1024, eps=1e-05)\n          )\n          (conv1): Conv2d(\n            512, 256, kernel_size=(1, 1), stride=(2, 2), bias=False\n            (norm): FrozenBatchNorm2d(num_features=256, eps=1e-05)\n          )\n          (conv2): Conv2d(\n            256, 256, kernel_size=(3, 3), stride=(1, 1), padding=(1, 1), bias=False\n            (norm): FrozenBatchNorm2d(num_features=256, eps=1e-05)\n          )\n          (conv3): Conv2d(\n            256, 1024, kernel_size=(1, 1), stride=(1, 1), bias=False\n            (norm): FrozenBatchNorm2d(num_features=1024, eps=1e-05)\n          )\n        )\n        (1): BottleneckBlock(\n          (conv1): Conv2d(\n            1024, 256, kernel_size=(1, 1), stride=(1, 1), bias=False\n            (norm): FrozenBatchNorm2d(num_features=256, eps=1e-05)\n          )\n          (conv2): Conv2d(\n            256, 256, kernel_size=(3, 3), stride=(1, 1), padding=(1, 1), bias=False\n            (norm): FrozenBatchNorm2d(num_features=256, eps=1e-05)\n          )\n          (conv3): Conv2d(\n            256, 1024, kernel_size=(1, 1), stride=(1, 1), bias=False\n            (norm): FrozenBatchNorm2d(num_features=1024, eps=1e-05)\n          )\n        )\n        (2): BottleneckBlock(\n          (conv1): Conv2d(\n            1024, 256, kernel_size=(1, 1), stride=(1, 1), bias=False\n            (norm): FrozenBatchNorm2d(num_features=256, eps=1e-05)\n          )\n          (conv2): Conv2d(\n            256, 256, kernel_size=(3, 3), stride=(1, 1), padding=(1, 1), bias=False\n            (norm): FrozenBatchNorm2d(num_features=256, eps=1e-05)\n          )\n          (conv3): Conv2d(\n            256, 1024, kernel_size=(1, 1), stride=(1, 1), bias=False\n            (norm): FrozenBatchNorm2d(num_features=1024, eps=1e-05)\n          )\n        )\n        (3): BottleneckBlock(\n          (conv1): Conv2d(\n            1024, 256, kernel_size=(1, 1), stride=(1, 1), bias=False\n            (norm): FrozenBatchNorm2d(num_features=256, eps=1e-05)\n          )\n          (conv2): Conv2d(\n            256, 256, kernel_size=(3, 3), stride=(1, 1), padding=(1, 1), bias=False\n            (norm): FrozenBatchNorm2d(num_features=256, eps=1e-05)\n          )\n          (conv3): Conv2d(\n            256, 1024, kernel_size=(1, 1), stride=(1, 1), bias=False\n            (norm): FrozenBatchNorm2d(num_features=1024, eps=1e-05)\n          )\n        )\n        (4): BottleneckBlock(\n          (conv1): Conv2d(\n            1024, 256, kernel_size=(1, 1), stride=(1, 1), bias=False\n            (norm): FrozenBatchNorm2d(num_features=256, eps=1e-05)\n          )\n          (conv2): Conv2d(\n            256, 256, kernel_size=(3, 3), stride=(1, 1), padding=(1, 1), bias=False\n            (norm): FrozenBatchNorm2d(num_features=256, eps=1e-05)\n          )\n          (conv3): Conv2d(\n            256, 1024, kernel_size=(1, 1), stride=(1, 1), bias=False\n            (norm): FrozenBatchNorm2d(num_features=1024, eps=1e-05)\n          )\n        )\n        (5): BottleneckBlock(\n          (conv1): Conv2d(\n            1024, 256, kernel_size=(1, 1), stride=(1, 1), bias=False\n            (norm): FrozenBatchNorm2d(num_features=256, eps=1e-05)\n          )\n          (conv2): Conv2d(\n            256, 256, kernel_size=(3, 3), stride=(1, 1), padding=(1, 1), bias=False\n            (norm): FrozenBatchNorm2d(num_features=256, eps=1e-05)\n          )\n          (conv3): Conv2d(\n            256, 1024, kernel_size=(1, 1), stride=(1, 1), bias=False\n            (norm): FrozenBatchNorm2d(num_features=1024, eps=1e-05)\n          )\n        )\n      )\n      (res5): Sequential(\n        (0): BottleneckBlock(\n          (shortcut): Conv2d(\n            1024, 2048, kernel_size=(1, 1), stride=(2, 2), bias=False\n            (norm): FrozenBatchNorm2d(num_features=2048, eps=1e-05)\n          )\n          (conv1): Conv2d(\n            1024, 512, kernel_size=(1, 1), stride=(2, 2), bias=False\n            (norm): FrozenBatchNorm2d(num_features=512, eps=1e-05)\n          )\n          (conv2): Conv2d(\n            512, 512, kernel_size=(3, 3), stride=(1, 1), padding=(1, 1), bias=False\n            (norm): FrozenBatchNorm2d(num_features=512, eps=1e-05)\n          )\n          (conv3): Conv2d(\n            512, 2048, kernel_size=(1, 1), stride=(1, 1), bias=False\n            (norm): FrozenBatchNorm2d(num_features=2048, eps=1e-05)\n          )\n        )\n        (1): BottleneckBlock(\n          (conv1): Conv2d(\n            2048, 512, kernel_size=(1, 1), stride=(1, 1), bias=False\n            (norm): FrozenBatchNorm2d(num_features=512, eps=1e-05)\n          )\n          (conv2): Conv2d(\n            512, 512, kernel_size=(3, 3), stride=(1, 1), padding=(1, 1), bias=False\n            (norm): FrozenBatchNorm2d(num_features=512, eps=1e-05)\n          )\n          (conv3): Conv2d(\n            512, 2048, kernel_size=(1, 1), stride=(1, 1), bias=False\n            (norm): FrozenBatchNorm2d(num_features=2048, eps=1e-05)\n          )\n        )\n        (2): BottleneckBlock(\n          (conv1): Conv2d(\n            2048, 512, kernel_size=(1, 1), stride=(1, 1), bias=False\n            (norm): FrozenBatchNorm2d(num_features=512, eps=1e-05)\n          )\n          (conv2): Conv2d(\n            512, 512, kernel_size=(3, 3), stride=(1, 1), padding=(1, 1), bias=False\n            (norm): FrozenBatchNorm2d(num_features=512, eps=1e-05)\n          )\n          (conv3): Conv2d(\n            512, 2048, kernel_size=(1, 1), stride=(1, 1), bias=False\n            (norm): FrozenBatchNorm2d(num_features=2048, eps=1e-05)\n          )\n        )\n      )\n    )\n  )\n  (proposal_generator): RPN(\n    (rpn_head): StandardRPNHead(\n      (conv): Conv2d(256, 256, kernel_size=(3, 3), stride=(1, 1), padding=(1, 1))\n      (objectness_logits): Conv2d(256, 3, kernel_size=(1, 1), stride=(1, 1))\n      (anchor_deltas): Conv2d(256, 12, kernel_size=(1, 1), stride=(1, 1))\n    )\n    (anchor_generator): DefaultAnchorGenerator(\n      (cell_anchors): BufferList()\n    )\n  )\n  (roi_heads): StandardROIHeads(\n    (box_pooler): ROIPooler(\n      (level_poolers): ModuleList(\n        (0): ROIAlign(output_size=(7, 7), spatial_scale=0.25, sampling_ratio=0, aligned=True)\n        (1): ROIAlign(output_size=(7, 7), spatial_scale=0.125, sampling_ratio=0, aligned=True)\n        (2): ROIAlign(output_size=(7, 7), spatial_scale=0.0625, sampling_ratio=0, aligned=True)\n        (3): ROIAlign(output_size=(7, 7), spatial_scale=0.03125, sampling_ratio=0, aligned=True)\n      )\n    )\n    (box_head): FastRCNNConvFCHead(\n      (fc1): Linear(in_features=12544, out_features=1024, bias=True)\n      (fc2): Linear(in_features=1024, out_features=1024, bias=True)\n    )\n    (box_predictor): FastRCNNOutputLayers(\n      (cls_score): Linear(in_features=1024, out_features=3, bias=True)\n      (bbox_pred): Linear(in_features=1024, out_features=8, bias=True)\n    )\n  )\n)"
     },
     "metadata": {},
     "execution_count": 6
    }
   ],
   "source": [
    "cfg = get_cfg()\n",
    "cfg_path = 'output/rcnn_2/config.yaml'\n",
    "weights_path = 'output/rcnn_2/model_final.pth'\n",
    "cfg.merge_from_file(cfg_path)\n",
    "cfg.MODEL.WEIGHTS = weights_path\n",
    "\n",
    "model = build_model(cfg)\n",
    "model.eval()\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 7,
   "metadata": {},
   "outputs": [
    {
     "output_type": "execute_result",
     "data": {
      "text/plain": "  [[-3.4079e-04]],\n    \n             [[ 3.6189e-03]],\n    \n             [[ 2.3448e-08]]],\n    \n    \n            [[[-4.2422e-04]],\n    \n             [[-1.3956e-04]],\n    \n             [[-3.8103e-06]],\n    \n             ...,\n    \n             [[-1.6862e-04]],\n    \n             [[-7.4796e-03]],\n    \n             [[ 2.5084e-06]]],\n    \n    \n            [[[ 1.9193e-04]],\n    \n             [[ 1.3143e-04]],\n    \n             [[-1.8375e-06]],\n    \n             ...,\n    \n             [[ 1.7924e-04]],\n    \n             [[-7.4756e-03]],\n    \n             [[ 9.1456e-06]]]])},\n   139849089623376: {'momentum_buffer': tensor([-8.1763e-02, -9.2945e-02, -3.0203e-02,  1.6069e-02, -1.0779e-02,\n            -8.1343e-03,  8.4077e-03, -3.7364e-03,  7.5749e-04, -4.2577e-05,\n            -1.8113e-03, -7.3371e-04])},\n   139849089623216: {'momentum_buffer': tensor([[-1.0160e-04, -2.1184e-04, -2.3166e-04,  ..., -1.2628e-04,\n             -7.9530e-05, -1.0942e-04],\n            [-2.3171e-04, -3.1025e-04, -3.3457e-04,  ..., -6.4668e-05,\n             -3.8761e-05, -4.4414e-05],\n            [ 1.0047e-04, -9.6395e-05, -1.2301e-04,  ..., -2.3251e-04,\n             -1.4845e-04, -9.6016e-05],\n            ...,\n            [ 8.0006e-07, -4.5022e-06, -5.1655e-05,  ..., -1.4551e-04,\n             -2.0374e-04, -2.3479e-04],\n            [-2.8575e-04, -2.9107e-04, -2.7368e-04,  ...,  1.9092e-05,\n              5.6344e-05,  3.9261e-05],\n            [ 1.2894e-04,  1.1888e-05,  1.1673e-04,  ..., -2.7299e-04,\n             -2.7091e-04, -2.1355e-04]])},\n   139849089622336: {'momentum_buffer': tensor([-1.5439e-05, -2.8754e-05, -8.2845e-05,  ..., -4.5600e-05,\n             3.6191e-05, -1.0789e-04])},\n   139849089623056: {'momentum_buffer': tensor([[-3.0930e-05, -1.5587e-04,  1.1123e-04,  ...,  1.3388e-04,\n              2.2288e-05,  1.0958e-04],\n            [ 6.8520e-05, -3.8799e-06, -6.6931e-05,  ...,  1.1353e-05,\n              1.3027e-05, -1.4527e-06],\n            [-1.3645e-04,  1.3964e-05, -3.8828e-04,  ...,  1.1163e-04,\n              1.6877e-05, -5.6401e-05],\n            ...,\n            [-6.8972e-04, -5.3695e-04, -7.0745e-04,  ..., -8.9161e-05,\n              2.2627e-04, -3.4187e-05],\n            [ 8.2084e-05, -1.8009e-04,  1.9409e-04,  ..., -7.5417e-05,\n             -1.1022e-05, -4.3660e-05],\n            [ 6.7818e-05,  8.5769e-05,  9.6480e-05,  ..., -8.5563e-05,\n             -1.0012e-04,  2.9861e-05]])},\n   139849091483280: {'momentum_buffer': tensor([-1.5363e-04,  6.8748e-06, -1.5002e-04,  ..., -4.2607e-04,\n             9.7353e-05,  9.1214e-05])},\n   139849091482400: {'momentum_buffer': tensor([[-0.0083, -0.0029, -0.0004,  ..., -0.0169,  0.0028, -0.0021],\n            [ 0.0021,  0.0027,  0.0053,  ...,  0.0007,  0.0019,  0.0011],\n            [ 0.0062,  0.0002, -0.0048,  ...,  0.0163, -0.0047,  0.0011]])},\n   139849091485440: {'momentum_buffer': tensor([-0.0070,  0.0077, -0.0007])},\n   139849091485600: {'momentum_buffer': tensor([[-2.3760e-02, -5.9149e-03,  5.0759e-05,  ..., -6.5941e-02,\n             -1.9218e-03, -6.4211e-03],\n            [-2.8534e-02, -1.0659e-02, -1.6189e-03,  ..., -9.1230e-02,\n             -2.3263e-03, -6.9157e-03],\n            [-4.5999e-03, -2.8102e-03, -2.5860e-04,  ..., -3.0482e-02,\n              2.6087e-03,  1.1510e-03],\n            ...,\n            [ 2.1456e-03,  6.9494e-04,  3.0455e-03,  ..., -1.1379e-03,\n              7.0008e-03, -1.8026e-03],\n            [ 1.0744e-02,  2.4208e-03,  5.0846e-03,  ..., -7.8306e-04,\n              1.7786e-03,  1.2419e-03],\n            [ 3.6702e-03, -1.0755e-03, -7.4628e-03,  ...,  8.9950e-04,\n             -1.0679e-04,  3.7180e-03]])},\n   139849091482640: {'momentum_buffer': tensor([-0.0255, -0.0321, -0.0095, -0.0106,  0.0198,  0.0036,  0.0065,  0.0123])}},\n  'param_groups': [{'lr': 1.0000000000000003e-05,\n    'weight_decay': 0.0001,\n    'momentum': 0.9,\n    'dampening': 0,\n    'nesterov': False,\n    'initial_lr': 0.001,\n    'params': [139849089652768]},\n   {'lr': 1.0000000000000003e-05,\n    'weight_decay': 0.0001,\n    'momentum': 0.9,\n    'dampening': 0,\n    'nesterov': False,\n    'initial_lr': 0.001,\n    'params': [139849089652688]},\n   {'lr': 1.0000000000000003e-05,\n    'weight_decay': 0.0001,\n    'momentum': 0.9,\n    'dampening': 0,\n    'nesterov': False,\n    'initial_lr': 0.001,\n    'params': [139849089652128]},\n   {'lr': 1.0000000000000003e-05,\n    'weight_decay': 0.0001,\n    'momentum': 0.9,\n    'dampening': 0,\n    'nesterov': False,\n    'initial_lr': 0.001,\n    'params': [139849089651568]},\n   {'lr': 1.0000000000000003e-05,\n    'weight_decay': 0.0001,\n    'momentum': 0.9,\n    'dampening': 0,\n    'nesterov': False,\n    'initial_lr': 0.001,\n    'params': [139849089653008]},\n   {'lr': 1.0000000000000003e-05,\n    'weight_decay': 0.0001,\n    'momentum': 0.9,\n    'dampening': 0,\n    'nesterov': False,\n    'initial_lr': 0.001,\n    'params': [139849089652208]},\n   {'lr': 1.0000000000000003e-05,\n    'weight_decay': 0.0001,\n    'momentum': 0.9,\n    'dampening': 0,\n    'nesterov': False,\n    'initial_lr': 0.001,\n    'params': [139849089651968]},\n   {'lr': 1.0000000000000003e-05,\n    'weight_decay': 0.0001,\n    'momentum': 0.9,\n    'dampening': 0,\n    'nesterov': False,\n    'initial_lr': 0.001,\n    'params': [139849089651488]},\n   {'lr': 1.0000000000000003e-05,\n    'weight_decay': 0.0001,\n    'momentum': 0.9,\n    'dampening': 0,\n    'nesterov': False,\n    'initial_lr': 0.001,\n    'params': [139849089651648]},\n   {'lr': 1.0000000000000003e-05,\n    'weight_decay': 0.0001,\n    'momentum': 0.9,\n    'dampening': 0,\n    'nesterov': False,\n    'initial_lr': 0.001,\n    'params': [139849089651728]},\n   {'lr': 1.0000000000000003e-05,\n    'weight_decay': 0.0001,\n    'momentum': 0.9,\n    'dampening': 0,\n    'nesterov': False,\n    'initial_lr': 0.001,\n    'params': [139849089651808]},\n   {'lr': 1.0000000000000003e-05,\n    'weight_decay': 0.0001,\n    'momentum': 0.9,\n    'dampening': 0,\n    'nesterov': False,\n    'initial_lr': 0.001,\n    'params': [139849089650848]},\n   {'lr': 1.0000000000000003e-05,\n    'weight_decay': 0.0001,\n    'momentum': 0.9,\n    'dampening': 0,\n    'nesterov': False,\n    'initial_lr': 0.001,\n    'params': [139849089651328]},\n   {'lr': 1.0000000000000003e-05,\n    'weight_decay': 0.0001,\n    'momentum': 0.9,\n    'dampening': 0,\n    'nesterov': False,\n    'initial_lr': 0.001,\n    'params': [139849089650928]},\n   {'lr': 1.0000000000000003e-05,\n    'weight_decay': 0.0001,\n    'momentum': 0.9,\n    'dampening': 0,\n    'nesterov': False,\n    'initial_lr': 0.001,\n    'params': [139849089651088]},\n   {'lr': 1.0000000000000003e-05,\n    'weight_decay': 0.0001,\n    'momentum': 0.9,\n    'dampening': 0,\n    'nesterov': False,\n    'initial_lr': 0.001,\n    'params': [139849089654368]},\n   {'lr': 1.0000000000000003e-05,\n    'weight_decay': 0.0001,\n    'momentum': 0.9,\n    'dampening': 0,\n    'nesterov': False,\n    'initial_lr': 0.001,\n    'params': [139849089538240]},\n   {'lr': 1.0000000000000003e-05,\n    'weight_decay': 0.0001,\n    'momentum': 0.9,\n    'dampening': 0,\n    'nesterov': False,\n    'initial_lr': 0.001,\n    'params': [139849089537040]},\n   {'lr': 1.0000000000000003e-05,\n    'weight_decay': 0.0001,\n    'momentum': 0.9,\n    'dampening': 0,\n    'nesterov': False,\n    'initial_lr': 0.001,\n    'params': [139849089539360]},\n   {'lr': 1.0000000000000003e-05,\n    'weight_decay': 0.0001,\n    'momentum': 0.9,\n    'dampening': 0,\n    'nesterov': False,\n    'initial_lr': 0.001,\n    'params': [139849089538880]},\n   {'lr': 1.0000000000000003e-05,\n    'weight_decay': 0.0001,\n    'momentum': 0.9,\n    'dampening': 0,\n    'nesterov': False,\n    'initial_lr': 0.001,\n    'params': [139849089538400]},\n   {'lr': 1.0000000000000003e-05,\n    'weight_decay': 0.0001,\n    'momentum': 0.9,\n    'dampening': 0,\n    'nesterov': False,\n    'initial_lr': 0.001,\n    'params': [139849089537920]},\n   {'lr': 1.0000000000000003e-05,\n    'weight_decay': 0.0001,\n    'momentum': 0.9,\n    'dampening': 0,\n    'nesterov': False,\n    'initial_lr': 0.001,\n    'params': [139849089536960]},\n   {'lr': 1.0000000000000003e-05,\n    'weight_decay': 0.0001,\n    'momentum': 0.9,\n    'dampening': 0,\n    'nesterov': False,\n    'initial_lr': 0.001,\n    'params': [139849089536080]},\n   {'lr': 1.0000000000000003e-05,\n    'weight_decay': 0.0001,\n    'momentum': 0.9,\n    'dampening': 0,\n    'nesterov': False,\n    'initial_lr': 0.001,\n    'params': [139849091282656]},\n   {'lr': 1.0000000000000003e-05,\n    'weight_decay': 0.0001,\n    'momentum': 0.9,\n    'dampening': 0,\n    'nesterov': False,\n    'initial_lr': 0.001,\n    'params': [139849091282736]},\n   {'lr': 1.0000000000000003e-05,\n    'weight_decay': 0.0001,\n    'momentum': 0.9,\n    'dampening': 0,\n    'nesterov': False,\n    'initial_lr': 0.001,\n    'params': [139849091281696]},\n   {'lr': 1.0000000000000003e-05,\n    'weight_decay': 0.0001,\n    'momentum': 0.9,\n    'dampening': 0,\n    'nesterov': False,\n    'initial_lr': 0.001,\n    'params': [139849091284256]},\n   {'lr': 1.0000000000000003e-05,\n    'weight_decay': 0.0001,\n    'momentum': 0.9,\n    'dampening': 0,\n    'nesterov': False,\n    'initial_lr': 0.001,\n    'params': [139849091281856]},\n   {'lr': 1.0000000000000003e-05,\n    'weight_decay': 0.0001,\n    'momentum': 0.9,\n    'dampening': 0,\n    'nesterov': False,\n    'initial_lr': 0.001,\n    'params': [139849091283216]},\n   {'lr': 1.0000000000000003e-05,\n    'weight_decay': 0.0001,\n    'momentum': 0.9,\n    'dampening': 0,\n    'nesterov': False,\n    'initial_lr': 0.001,\n    'params': [139849091283456]},\n   {'lr': 1.0000000000000003e-05,\n    'weight_decay': 0.0001,\n    'momentum': 0.9,\n    'dampening': 0,\n    'nesterov': False,\n    'initial_lr': 0.001,\n    'params': [139849091282096]},\n   {'lr': 1.0000000000000003e-05,\n    'weight_decay': 0.0001,\n    'momentum': 0.9,\n    'dampening': 0,\n    'nesterov': False,\n    'initial_lr': 0.001,\n    'params': [139849091280976]},\n   {'lr': 1.0000000000000003e-05,\n    'weight_decay': 0.0001,\n    'momentum': 0.9,\n    'dampening': 0,\n    'nesterov': False,\n    'initial_lr': 0.001,\n    'params': [139849089576224]},\n   {'lr': 1.0000000000000003e-05,\n    'weight_decay': 0.0001,\n    'momentum': 0.9,\n    'dampening': 0,\n    'nesterov': False,\n    'initial_lr': 0.001,\n    'params': [139849089576864]},\n   {'lr': 1.0000000000000003e-05,\n    'weight_decay': 0.0001,\n    'momentum': 0.9,\n    'dampening': 0,\n    'nesterov': False,\n    'initial_lr': 0.001,\n    'params': [139849089576624]},\n   {'lr': 1.0000000000000003e-05,\n    'weight_decay': 0.0001,\n    'momentum': 0.9,\n    'dampening': 0,\n    'nesterov': False,\n    'initial_lr': 0.001,\n    'params': [139849089574944]},\n   {'lr': 1.0000000000000003e-05,\n    'weight_decay': 0.0001,\n    'momentum': 0.9,\n    'dampening': 0,\n    'nesterov': False,\n    'initial_lr': 0.001,\n    'params': [139849089574224]},\n   {'lr': 1.0000000000000003e-05,\n    'weight_decay': 0.0001,\n    'momentum': 0.9,\n    'dampening': 0,\n    'nesterov': False,\n    'initial_lr': 0.001,\n    'params': [139849089575744]},\n   {'lr': 1.0000000000000003e-05,\n    'weight_decay': 0.0001,\n    'momentum': 0.9,\n    'dampening': 0,\n    'nesterov': False,\n    'initial_lr': 0.001,\n    'params': [139849088928016]},\n   {'lr': 1.0000000000000003e-05,\n    'weight_decay': 0.0001,\n    'momentum': 0.9,\n    'dampening': 0,\n    'nesterov': False,\n    'initial_lr': 0.001,\n    'params': [139849088926896]},\n   {'lr': 1.0000000000000003e-05,\n    'weight_decay': 0.0001,\n    'momentum': 0.9,\n    'dampening': 0,\n    'nesterov': False,\n    'initial_lr': 0.001,\n    'params': [139849088929216]},\n   {'lr': 1.0000000000000003e-05,\n    'weight_decay': 0.0001,\n    'momentum': 0.9,\n    'dampening': 0,\n    'nesterov': False,\n    'initial_lr': 0.001,\n    'params': [139849089505392]},\n   {'lr': 1.0000000000000003e-05,\n    'weight_decay': 0.0001,\n    'momentum': 0.9,\n    'dampening': 0,\n    'nesterov': False,\n    'initial_lr': 0.001,\n    'params': [139849089506752]},\n   {'lr': 1.0000000000000003e-05,\n    'weight_decay': 0.0001,\n    'momentum': 0.9,\n    'dampening': 0,\n    'nesterov': False,\n    'initial_lr': 0.001,\n    'params': [139849089505712]},\n   {'lr': 1.0000000000000003e-05,\n    'weight_decay': 0.0001,\n    'momentum': 0.9,\n    'dampening': 0,\n    'nesterov': False,\n    'initial_lr': 0.001,\n    'params': [139849089504512]},\n   {'lr': 1.0000000000000003e-05,\n    'weight_decay': 0.0001,\n    'momentum': 0.9,\n    'dampening': 0,\n    'nesterov': False,\n    'initial_lr': 0.001,\n    'params': [139849089503392]},\n   {'lr': 1.0000000000000003e-05,\n    'weight_decay': 0.0001,\n    'momentum': 0.9,\n    'dampening': 0,\n    'nesterov': False,\n    'initial_lr': 0.001,\n    'params': [139849089608272]},\n   {'lr': 1.0000000000000003e-05,\n    'weight_decay': 0.0001,\n    'momentum': 0.9,\n    'dampening': 0,\n    'nesterov': False,\n    'initial_lr': 0.001,\n    'params': [139849089609552]},\n   {'lr': 1.0000000000000003e-05,\n    'weight_decay': 0.0001,\n    'momentum': 0.9,\n    'dampening': 0,\n    'nesterov': False,\n    'initial_lr': 0.001,\n    'params': [139849089608352]},\n   {'lr': 1.0000000000000003e-05,\n    'weight_decay': 0.0001,\n    'momentum': 0.9,\n    'dampening': 0,\n    'nesterov': False,\n    'initial_lr': 0.001,\n    'params': [139849089606192]},\n   {'lr': 1.0000000000000003e-05,\n    'weight_decay': 0.0001,\n    'momentum': 0.9,\n    'dampening': 0,\n    'nesterov': False,\n    'initial_lr': 0.001,\n    'params': [139849089606112]},\n   {'lr': 1.0000000000000003e-05,\n    'weight_decay': 0.0001,\n    'momentum': 0.9,\n    'dampening': 0,\n    'nesterov': False,\n    'initial_lr': 0.001,\n    'params': [139849088977008]},\n   {'lr': 1.0000000000000003e-05,\n    'weight_decay': 0.0001,\n    'momentum': 0.9,\n    'dampening': 0,\n    'nesterov': False,\n    'initial_lr': 0.001,\n    'params': [139849088976448]},\n   {'lr': 1.0000000000000003e-05,\n    'weight_decay': 0.0001,\n    'momentum': 0.9,\n    'dampening': 0,\n    'nesterov': False,\n    'initial_lr': 0.001,\n    'params': [139849088977648]},\n   {'lr': 1.0000000000000003e-05,\n    'weight_decay': 0.0001,\n    'momentum': 0.9,\n    'dampening': 0,\n    'nesterov': False,\n    'initial_lr': 0.001,\n    'params': [139849088978768]},\n   {'lr': 1.0000000000000003e-05,\n    'weight_decay': 0.0001,\n    'momentum': 0.9,\n    'dampening': 0,\n    'nesterov': False,\n    'initial_lr': 0.001,\n    'params': [139849089073552]},\n   {'lr': 1.0000000000000003e-05,\n    'weight_decay': 0.0001,\n    'momentum': 0.9,\n    'dampening': 0,\n    'nesterov': False,\n    'initial_lr': 0.001,\n    'params': [139849089076912]},\n   {'lr': 1.0000000000000003e-05,\n    'weight_decay': 0.0001,\n    'momentum': 0.9,\n    'dampening': 0,\n    'nesterov': False,\n    'initial_lr': 0.001,\n    'params': [139849089624816]},\n   {'lr': 1.0000000000000003e-05,\n    'weight_decay': 0.0001,\n    'momentum': 0.9,\n    'dampening': 0,\n    'nesterov': False,\n    'initial_lr': 0.001,\n    'params': [139849089624496]},\n   {'lr': 1.0000000000000003e-05,\n    'weight_decay': 0.0001,\n    'momentum': 0.9,\n    'dampening': 0,\n    'nesterov': False,\n    'initial_lr': 0.001,\n    'params': [139849089625136]},\n   {'lr': 1.0000000000000003e-05,\n    'weight_decay': 0.0001,\n    'momentum': 0.9,\n    'dampening': 0,\n    'nesterov': False,\n    'initial_lr': 0.001,\n    'params': [139849089625296]},\n   {'lr': 1.0000000000000003e-05,\n    'weight_decay': 0.0001,\n    'momentum': 0.9,\n    'dampening': 0,\n    'nesterov': False,\n    'initial_lr': 0.001,\n    'params': [139849089624576]},\n   {'lr': 1.0000000000000003e-05,\n    'weight_decay': 0.0001,\n    'momentum': 0.9,\n    'dampening': 0,\n    'nesterov': False,\n    'initial_lr': 0.001,\n    'params': [139849089623376]},\n   {'lr': 1.0000000000000003e-05,\n    'weight_decay': 0.0001,\n    'momentum': 0.9,\n    'dampening': 0,\n    'nesterov': False,\n    'initial_lr': 0.001,\n    'params': [139849089623216]},\n   {'lr': 1.0000000000000003e-05,\n    'weight_decay': 0.0001,\n    'momentum': 0.9,\n    'dampening': 0,\n    'nesterov': False,\n    'initial_lr': 0.001,\n    'params': [139849089622336]},\n   {'lr': 1.0000000000000003e-05,\n    'weight_decay': 0.0001,\n    'momentum': 0.9,\n    'dampening': 0,\n    'nesterov': False,\n    'initial_lr': 0.001,\n    'params': [139849089623056]},\n   {'lr': 1.0000000000000003e-05,\n    'weight_decay': 0.0001,\n    'momentum': 0.9,\n    'dampening': 0,\n    'nesterov': False,\n    'initial_lr': 0.001,\n    'params': [139849091483280]},\n   {'lr': 1.0000000000000003e-05,\n    'weight_decay': 0.0001,\n    'momentum': 0.9,\n    'dampening': 0,\n    'nesterov': False,\n    'initial_lr': 0.001,\n    'params': [139849091482400]},\n   {'lr': 1.0000000000000003e-05,\n    'weight_decay': 0.0001,\n    'momentum': 0.9,\n    'dampening': 0,\n    'nesterov': False,\n    'initial_lr': 0.001,\n    'params': [139849091485440]},\n   {'lr': 1.0000000000000003e-05,\n    'weight_decay': 0.0001,\n    'momentum': 0.9,\n    'dampening': 0,\n    'nesterov': False,\n    'initial_lr': 0.001,\n    'params': [139849091485600]},\n   {'lr': 1.0000000000000003e-05,\n    'weight_decay': 0.0001,\n    'momentum': 0.9,\n    'dampening': 0,\n    'nesterov': False,\n    'initial_lr': 0.001,\n    'params': [139849091482640]}]},\n 'scheduler': {'milestones': (17000, 22000),\n  'gamma': 0.1,\n  'warmup_factor': 0.001,\n  'warmup_iters': 1000,\n  'warmup_method': 'linear',\n  'base_lrs': [0.001,\n   0.001,\n   0.001,\n   0.001,\n   0.001,\n   0.001,\n   0.001,\n   0.001,\n   0.001,\n   0.001,\n   0.001,\n   0.001,\n   0.001,\n   0.001,\n   0.001,\n   0.001,\n   0.001,\n   0.001,\n   0.001,\n   0.001,\n   0.001,\n   0.001,\n   0.001,\n   0.001,\n   0.001,\n   0.001,\n   0.001,\n   0.001,\n   0.001,\n   0.001,\n   0.001,\n   0.001,\n   0.001,\n   0.001,\n   0.001,\n   0.001,\n   0.001,\n   0.001,\n   0.001,\n   0.001,\n   0.001,\n   0.001,\n   0.001,\n   0.001,\n   0.001,\n   0.001,\n   0.001,\n   0.001,\n   0.001,\n   0.001,\n   0.001,\n   0.001,\n   0.001,\n   0.001,\n   0.001,\n   0.001,\n   0.001,\n   0.001,\n   0.001,\n   0.001,\n   0.001,\n   0.001,\n   0.001,\n   0.001,\n   0.001,\n   0.001,\n   0.001,\n   0.001,\n   0.001,\n   0.001,\n   0.001,\n   0.001],\n  'last_epoch': 25000,\n  '_step_count': 25001,\n  '_get_lr_called_within_step': False,\n  '_last_lr': [1.0000000000000003e-05,\n   1.0000000000000003e-05,\n   1.0000000000000003e-05,\n   1.0000000000000003e-05,\n   1.0000000000000003e-05,\n   1.0000000000000003e-05,\n   1.0000000000000003e-05,\n   1.0000000000000003e-05,\n   1.0000000000000003e-05,\n   1.0000000000000003e-05,\n   1.0000000000000003e-05,\n   1.0000000000000003e-05,\n   1.0000000000000003e-05,\n   1.0000000000000003e-05,\n   1.0000000000000003e-05,\n   1.0000000000000003e-05,\n   1.0000000000000003e-05,\n   1.0000000000000003e-05,\n   1.0000000000000003e-05,\n   1.0000000000000003e-05,\n   1.0000000000000003e-05,\n   1.0000000000000003e-05,\n   1.0000000000000003e-05,\n   1.0000000000000003e-05,\n   1.0000000000000003e-05,\n   1.0000000000000003e-05,\n   1.0000000000000003e-05,\n   1.0000000000000003e-05,\n   1.0000000000000003e-05,\n   1.0000000000000003e-05,\n   1.0000000000000003e-05,\n   1.0000000000000003e-05,\n   1.0000000000000003e-05,\n   1.0000000000000003e-05,\n   1.0000000000000003e-05,\n   1.0000000000000003e-05,\n   1.0000000000000003e-05,\n   1.0000000000000003e-05,\n   1.0000000000000003e-05,\n   1.0000000000000003e-05,\n   1.0000000000000003e-05,\n   1.0000000000000003e-05,\n   1.0000000000000003e-05,\n   1.0000000000000003e-05,\n   1.0000000000000003e-05,\n   1.0000000000000003e-05,\n   1.0000000000000003e-05,\n   1.0000000000000003e-05,\n   1.0000000000000003e-05,\n   1.0000000000000003e-05,\n   1.0000000000000003e-05,\n   1.0000000000000003e-05,\n   1.0000000000000003e-05,\n   1.0000000000000003e-05,\n   1.0000000000000003e-05,\n   1.0000000000000003e-05,\n   1.0000000000000003e-05,\n   1.0000000000000003e-05,\n   1.0000000000000003e-05,\n   1.0000000000000003e-05,\n   1.0000000000000003e-05,\n   1.0000000000000003e-05,\n   1.0000000000000003e-05,\n   1.0000000000000003e-05,\n   1.0000000000000003e-05,\n   1.0000000000000003e-05,\n   1.0000000000000003e-05,\n   1.0000000000000003e-05,\n   1.0000000000000003e-05,\n   1.0000000000000003e-05,\n   1.0000000000000003e-05,\n   1.0000000000000003e-05]},\n 'iteration': 24999}"
     },
     "metadata": {},
     "execution_count": 7
    }
   ],
   "source": [
    "# Load weights\n",
    "checkpointer = DetectionCheckpointer(model)\n",
    "checkpointer.load(cfg.MODEL.WEIGHTS)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 23,
   "metadata": {},
   "outputs": [],
   "source": [
    "with torch.no_grad():\n",
    "    original_image = cv2.imread('../phishpedia/benchmark/Sampled_phish1000/1&1 Ionos+2020-05-10-23`43`06/shot.png')\n",
    "    original_image = original_image[:, :, ::-1]\n",
    "    image = transform_gen.get_transform(original_image).apply_image(original_image)\n",
    "    image = torch.as_tensor(image.astype(\"float32\").transpose(2, 0, 1))[None, ...].to(device)\n",
    "    features = model.backbone.bottom_up(image)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 32,
   "metadata": {},
   "outputs": [
    {
     "ename": "AttributeError",
     "evalue": "'numpy.ndarray' object has no attribute 'imshow'",
     "output_type": "error",
     "traceback": [
      "\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
      "\u001b[0;31mAttributeError\u001b[0m                            Traceback (most recent call last)",
      "\u001b[0;32m<ipython-input-32-fd84b4bccf92>\u001b[0m in \u001b[0;36m<module>\u001b[0;34m\u001b[0m\n\u001b[1;32m      3\u001b[0m \u001b[0mfig\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0maxes\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mplt\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0msubplots\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mnrows\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0;36m10\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mncols\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0;36m10\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mfigsize\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;36m5\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;36m5\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m      4\u001b[0m \u001b[0;32mfor\u001b[0m \u001b[0mi\u001b[0m \u001b[0;32min\u001b[0m \u001b[0mrange\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;36m100\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m----> 5\u001b[0;31m     \u001b[0maxes\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0mi\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mimshow\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mvis\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0mi\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m      6\u001b[0m \u001b[0mplt\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mshow\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
      "\u001b[0;31mAttributeError\u001b[0m: 'numpy.ndarray' object has no attribute 'imshow'"
     ]
    },
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAATUAAAEzCAYAAABQRpQZAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADh0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uMy4xLjMsIGh0dHA6Ly9tYXRwbG90bGliLm9yZy+AADFEAAAgAElEQVR4nO2dQWgcV7qovzNXUWA0DiRMwIxboDSdtLCEFmPwQ5u7Tbgbb16gvTB5RCYwMFllY5Nh1lplkbsce3jMxiZ3pcQEeTOBu5iA/JSHISL4IUXkXfUNJOHCg4GhHcH/Fq1utVrVVWX3Of/pOvV/UItunz5f/X93/a5qdZ3fiQiGYRip8IvYO2AYhuETK2qGYSSFFTXDMJLCipphGElhRc0wjKSwomYYRlIUFjXn3J+dcz84577W2KEYztR9MZwWY/V9sZzTUuZM7X8CbwXej9jO1H0xnNq+GM7UfbGcU1FY1ETk34H/UtiXaM7UfTGcFmP1fbGc02LfqRmGkRSuzG1Szrkl4IGIrOaMeQ94D2BhYeHK8vLyVDvW6/XY399nZWXlzPO7u7s/icirWr6BE/hQ06cZYyo5zXPWJacpxJjHwJk7SEQKN2AJ+LrMWBHhypUrMi2Hh4eysrJy7nngf2n6spzavtDOVHKa56xjTkM7Q/nyyHKOb3b5aRhGUpT5Scc94Eug7Zw7cs5thN6p69evs76+zpMnT2g0Gty9e9d8FXNajNX3xXJOy1zRABG5rrEjo9y7d898FXdajNX3xXJOi11+GoaRFFbUDMNICitqhmEkhRU1wzCSwoqaYRhJYUXNMIyksKJmGEZSWFEzDCMprKgZhpEUVtQMw0gKK2qGYSSFFTXDMJLCipphGElhRc0wjKQoVdScc28555445/adc7dC79T29jbtdptWq8Xm5mZoXRRn6r4YToux+j4vFC2NC/wTcAA0gXngMXA57zXTLOl7fHwszWZTDg4OpNfrydramuzt7eUu5zvtEsLP6tT2Teu0nOrHOAs5ndYZI6dFZDnHtzJnaleBfRH5VkSeAveBa14r6wg7Ozu0Wi2azSbz8/N0Oh22trZC6aI4U/fFcFqM1ff5okxRuwT8x8jjo5PngtDtdllcXBw+bjQadLvdULooztR9MZwWY/V9vihskeecext4U0Runjy+AVwVkffHxg3bZAGrwPO2qX8ZeAn47uTxK8ACp4W1LSIXPPpKOYEPNH2eY7Sc6scYJacJfG6KaIvIhdwRRdenwGdAj5MWecBt4HbBawqve3Neu07/bPAH+sk548uaexpfmRjH59f2WU6rF+Ms5LSKn5sS++TlO7WPgB+BF5xz80AH+LTE656XR/Qvi98FnIIP9GO0nPqnDjHWIadTU1jUROQL4A/0Gxp/A3wiInuhdkhEjoGbwMdAK7TvxKkdo+XUv68OMSafUy+UPOVb4hk6tAPveTjNzHRmzR3SlzW/ts9yWr0YZyGnVY2xYF8K5y/8QwGAc24JeCAiqzljhl8WLiwsXFleXi6cN49er8f+/j4rKytnnt/d3f1JRF7V8g2cwIeaPs0YU8lpnrMuOU0hxjwGztxB0/7vkLX5+AHe4eGhrKysnHueQD/4m+TLcmr7QjtTyWmes445De0M5csjyzm+eb33c3A7lc85Mxj+d6HkO+fU9mnmdOAM7DvjtJz6d9bhWJxIUdUD7gHfAz/T//PuxoRxw9uppq3WnU5HLl68KHNzc3Lp0iW5c+fOaKX+h6Yvy6nt08qpRIzRx//ws/S5mYWcVvFYLGI0r5M2n1/grQMPJfAp6EgiVXxZTm2fKOVUIsZoOfXnrMOxmLf5vPwcv50qNNq+GE6Lsfq+GM7Ufbn4LGrO41yz6IvhtBir74vhTN2Xi8+idgQsFo6qri+G02Ksvi+GM3VfLj6L2iPgdefcax7nnCXf0Kntq0OM2r465DTxY3Ei3oqa9G+p+D3w0NecE3jROXcEvKPky3Jq+1Ry6pzbGHkfQ2M5DeREOUZF39DpnNuYNMDr79RE5HMRecPnnBl8JSINEbmr5Dvn1PZp5hT672Ng3xmn5dS/sw7H4qQB1njFMIyksKJmGEZSWFEzDCMprKgZhpEUVtQMw0gKK2qGYSSFFTXDMJLCipphGElRqqgNFoBzzu07526F3qnt7W3a7TatVovNzc3QuijO1H0xnBZj9X1eKFqbiJEF4IB54DFwOe8106ypdHx8LM1mUw4ODqTX68na2prs7e2NrqfkfQnhZ3Vq+6Z1Wk71Y5yFnE7rjJHTIrKc41uZM7WrwL6IfCsiT4H7wDWvlXWEnZ0dWq0WzWaT+fl5Op0OW1tboXRRnKn7Yjgtxur7fFGmqI0vAHd08lwQut0ui4unq5g0Gg263W4oXRRn6r4YToux+j5fFLbIc879lf5yvQcisuqcuwFcFZH3x8YN22QBq/Tb1D8PLwO/AeaAY/r9ERY4LaxtEbng0QfwBvAroAfsAa+MO4EPNH2eY6xDTmctxig5TeBzU0RbRC7kjii6PgV+B/yNkxZ5wG3gdsFrCq97c167DuwAv6WfnDO+rLmn8ZWJcXx+bZ/ltHoxzkJOq/i5KbFPXr5T+xPQAF5wzs0DHeDTEq97Xh4BvwZ+SX+Z4NA+0I/RcuqfOsRYh5xOTWFRk/4Cd3+k39D4G+ATEdkLtUNyuqDeX4BWaN+IUztGy6l/Xx1iTDqnPij8Tg3AObcEPBCR1ZwxWq3u/y5j1/EhfQMnI9//aPg0Y0wlp3nOuuQ0hRjzGDhzB5W8jl3i5Dq+zFbFVveTfFlObV9oZyo5zXPWMaehnaF8eWQ5xze7TcowjKQoLGrOuXvAl0C7qOHB4HaqaXfq+vXrrK+v8+TJExqNBnfvnlmOfHgOrOQ759T2aeZ04AzsO+P04SvhrF1Oq3gsluD8dfc4RadyZTdGbqdSanWv4styavu0cioRY7Sc+nPW4VjM23xefg5vp/I45yz5hk5tXx1i1PbVIaeJH4sT8VnUxm+nCo22L4bTYqy+L4YzdV8uPoua8zjXLPpiOC3G6vtiOFP35eKzqB0Bi4WjquuL4bQYq++L4Uzdl4vPovYIeN0595rHOWfJN3Rq++oQo7avDjlN/FiciLeiJqe3VDz0NecEXnTOHQHvKPmynNo+lZw65zZG3sfQWE4DOVGOUdE3dOb9tMzrj29F5HMRecPnnBl8JSINEbmr5Dvn1PZp5hT672Ng3xmn5dS/sw7H4qQBdkeBYRhJYUXNMIyksKJmGEZSWFEzDCMprKgZhpEUVtQMw0gKK2qGYSSFFTXDMJKiVFEbLADnnNt3zt0KvVPb29u0221arRabm5uhdVGcqftiOC3G6vu8ULTgGiMLwAHzwGPgct5rplko7vj4WJrNphwcHEiv15O1tTXZ29sb/jsB1kV/Vqe2b1qn5VQ/xlnI6bTOGDktIss5vpU5UxsuACciT4H7wDWvlXWEnZ0dWq0WzWaT+fl5Op0OW1tboXRRnKn7Yjgtxur7fFHYIs8599+Bt0Tk5snjG8B/E5Hfj43z2er+JeC7k8evAL8C/u/J4xCt7gudjLRz0/B5jtFyqh9jlJwm8Lkpoi3TtsgD/gr8g9NW9zeAfy14zTSt7t8GngA/0E/OGV/W3NP4ysQ4Pr+2z3JavRhnIadV/NyU2Ccvl5//BvzvkccN4D9LvO55OQL+HzDovhPaB/oxWk79U4cY65DTqSlT1P5EP5gXnHPzQAf4NOA+PQJ+DfyS/jLBoX2gH6Pl1D91iLEOOZ2ekqd8/wPo0f8r6Iclxr835SnmvwDfnjg/LJp7Wl9RjOPza/ssp9WLcRZyWtXPTcH+FM5f+IcCAOfcEvBARFZzxgy/LFxYWLiyvLxcOG8evV6P/f19VlbO9i7d3d39SURe1fINnMCHmj7NGFPJaZ6zLjlNIcY8Bs7cQSWr4xInX06W2Xz8VuXw8FBWVlbOPU+g38ZM8mU5tX2hnankNM9Zx5yGdoby5ZHlHN/sNinDMJKisKg55+4BXwLtooYHg9uppt2p69evs76+zpMnT2g0Gty9e2Y58uE5sJLvnFPbp5nTgTOw74zTh6+Es3Y5reKxWILz193jFJ3Kld0YuZ0q5Cko8A9NX5ZT26eVU4kYo+XUn7MOx2Le5vPyc3g7lcc5Z8k3dGr76hCjtq8OOU38WJyIz6J2CfgPj/PNmi+G02Ksvi+GM3VfLj6LmvM41yz6Yjgtxur7YjhT9+Xis6gdAYse55s1XwynxVh9Xwxn6r5cfBa1R8DrzrnXPM45S76hU9tXhxi1fXXIaeLH4kS8FTUROQZ+Dzz0NecEXnTOHQHvKPmynNo+lZw65zZG3sfQWE4DOVGOUdE3dOb9tMzrj29F5HMRecPnnBl8JSINEbmr5Dvn1PZp5hT672Ng3xmn5dS/sw7H4qQBdkeBYRhJYUXNMIyksKJmGEZSWFEzDCMprKgZhpEUVtQMw0gKK2qGYSRFqaI2WCvJObfvnLsVeqditLrXdqbui+G0GKvv80LR2kSMrJUEzAOPgct5r6laq/tndWr7pnVaTvVjnIWcTuuMkdMispzjW5kzteFaSSLyFLgPXPNaWUeI0epe25m6L4bTYqy+zxdlitr4WklHJ88Fodvtsrh4esN/o9Gg2+2G0kVxpu6L4bQYq+/zRWGLPOfc28CbInLz5PEN4KqIvD82btgmC1il36b+eXgZeAn47uTxK8ACp4W1LSIXPPpKOYEPNH2eY7Sc6scYJacJfG6KaIvIhdwRRdenwGf0G5l+ffL4NnC74DWF1705r12nfzb4A/3knPFlzT2Nr0yM4/Nr+yyn1YtxFnJaxc9NiX3y8p3aR8CP6La6/wXwLnqt7rVjtJz6pw4x1iGnU1NY1ETkC+AP9BsafwN8IiJ7oXZI+mtP3QQ+BlqhfSdO7Rgtp/59dYgx+Zx6oeQp3xLP0KEdeM/DaWamM2vukL6s+bV9ltPqxTgLOa1qjAX7Ujh/4R8KAJxzS8ADEVnNGTP8snBhYeHK8vJy4bx59Ho99vf3WVk527t0d3f3JxF5Vcs3cAIfavo0Y0wlp3nOuuQ0hRjzGDhzB037v0PW5uMHeIeHh7KysnLueQL94G+SL8up7QvtTCWnec465jS0M5Qvjyzn+Ob13k+l1vNRW907597S9mnmdOAM7DvjtJz6d9bhWJxIUdUD7gHfAz/T//PuxoRx3lrPdzoduXjxoszNzcmlS5fkzp07o5Xae6v7PF+WU9unlVOJGKOP/+Fn6XMzCzmt4rFYxGheJ20+v8BbBx5K4FPQkUSq+LKc2j5RyqlEjNFy6s9Zh2Mxb/N5+VmHVvcWo/mq4Ezdl4vPolaHVvcWo/mq4Ezdl4vPolaHVvcWo/mq4Ezdl4vPolaHVvePgNe1fXWIUdtXh5wmfixOxFtRk/4tFUm3uh9xavtUcuqc2xh5H0NjOQ3kRDlGRd/Q6ZzbmDTA6+/UpAat7kXkc22fZk6h/z4G9p1xWk79O+twLE4aYI1XDMNICitqhmEkhRU1wzCSwoqaYRhJYUXNMIyksKJmGEZSWFEzDCMprKgZhpEUpYraYAE459y+c+5W6J3a3t6m3W7TarXY3NwMrYviTN0Xw2kxVt/nhaK1iRhZAA6YBx4Dl/NeM82aSsfHx9JsNuXg4EB6vZ6sra3J3t7e6HpK3pcQflantm9ap+VUP8ZZyOm0zhg5LSLLOb6VOVO7CuyLyLci8hS4D1zzWllH2NnZodVq0Ww2mZ+fp9PpsLW1FUoXxZm6L4bTYqy+zxdlitr4AnBHJ88Fodvtsrh4uopJo9Gg2+2G0kVxpu6L4bQYq+/zRWGLPOfcX+kv13sgIqvOuRvAVRF5f2zcsE0WsEq/Tf3z8DLwG2AOOKbfH2GB08LaFpELHn0AbwC/AnrAHvDKuBP4QNPnOcY65HTWYoyS0wQ+N0W0ReRC7oii61Pgd8DfOGmRB9wGbhe8pvC6N+e168AO8Fv6yTnjy5p7Gl+ZGMfn1/ZZTqsX4yzktIqfmxL75OU7tT8BDeAF59w80AE+LfG65+UR8Gvgl/SXCQ7tA/0YLaf+qUOMdcjp1BQWNekvcPdH+g2NvwE+EZG9UDskpwvq/QVohfaNOLVjtJz699UhxqRz6oPC79QAnHNLwAMRWc0Zo9Xq/u8ydh0f0jdwMvL9j4ZPM8ZUcprnrEtOU4gxj4Ezd1DJ69glTq7jy2xVbHU/yZfl1PaFdqaS0zxnHXMa2hnKl0eWc3yz26QMw0iKwqLmnLsHfAm0ixoeDG6nmnanrl+/zvr6Ok+ePKHRaHD37pnlyIfnwEq+c05tn2ZOB87AvjNOH74SztrltIrHYgnOX3ePU3QqV3Zj5HYqpVb3Kr4sp7ZPK6cSMUbLqT9nHY7FvM3n5efwdiqPc86Sb+jU9tUhRm1fHXKa+LE4EZ9Fbfx2qtBo+2I4Lcbq+2I4U/fl4rOoOY9zzaIvhtNirL4vhjN1Xy4+i9oRsFg4qrq+GE6Lsfq+GM7Ufbn4LGqPgNedc695nHOWfEOntq8OMWr76pDTxI/FiXgranJ6S8VDX3NO4EXn3BHwjpIvy6ntU8mpc25j5H0MjeU0kBPlGBV9Q2feT8u8/vhWRD4XkTd8zpnBVyLSEJG7Sr5zTm2fZk6h/z4G9p1xWk79O+twLE4aYHcUGIaRFFbUDMNICitqhmEkhRU1wzCSwoqaYRhJYUXNMIyksKJmGEZSlCpqg7WSnHP7zrlboXcqRqt7bWfqvhhOi7H6Pi8UrU3EyFpJwDzwGLic95qqtbp/Vqe2b1qn5VQ/xlnI6bTOGDktIss5vpU5UxuulSQiT4H7wDWvlXWEGK3utZ2p+2I4Lcbq+3xRpqiNr5V0dPJcEGK0utd2pu6L4bQYq+/zRWGLPOfc28CbInLz5PEN4KqIvD82zmer+5eA704ev0L4VveFTkbauWn4PMdoOdWPMUpOE/jcFNGWaVvkAZ8BPSa0up/wmmlb3R8BP6DU6r4oxvH5tX2W0+rFOAs5reLnpsQ+eflO7SPgR3Rb3f8CeBe9VvfaMVpO/VOHGOuQ06kpLGoi8gXwB3Rb3d8EPkap1X2EGC2n/n11iDH5nHqh5CnfEs/QoR14z8NpZqYza+6Qvqz5tX2W0+rFOAs5rWqMBftSOH/hHwoAnHNLwAMRWc0ZM/yycGFh4cry8nLhvHn0ej329/dZWTnbu3R3d/cnEXlVyzdwAh9q+jRjTCWnec665DSFGPMYOHMHTfu/Q9bm4wd4h4eHsrKycu55Av3gb5Ivy6ntC+1MJad5zjrmNLQzlC+PLOf45vXeT6XW81Fb3Tvn3tL2aeZ04AzsO+O0nPp31uFYnEhR1QPuAd8DP9P/8+7GhHHeWs93Oh25ePGizM3NyaVLl+TOnTujldp7q/s8X5ZT26eVU4kYo4//4WfpczMLOa3isVjEaF4nbT6/wFsHHkrgU9CRRKr4spzaPlHKqUSM0XLqz1mHYzFv83n5WYdW9xaj+argTN2Xi8+iVodW9xaj+argTN2Xi8+iVodW9xaj+argTN2Xi8+iVodW94+A17V9dYhR21eHnCZ+LE7EW1GT/i0VSbe6H3Fq+1Ry6pzbGHkfQ2M5DeREOUZF39DpnNuYNMDr79SkBq3uReRzbZ9mTqH/Pgb2nXFaTv0763AsThpgjVcMw0gKK2qGYSSFFTXDMJLCipphGElhRc0wjKSwomYYRlJYUTMMIymsqBmGkRSlitpgATjn3L5z7lbondre3qbdbtNqtdjc3Ayti+JM3RfDaTFW3+eForWJGFkADpgHHgOX814zzZpKx8fH0mw25eDgQHq9nqytrcne3t7oekrelxB+Vqe2b1qn5VQ/xlnI6bTOGDktIss5vpU5U7sK7IvItyLyFLgPXPNaWUfY2dmh1WrRbDaZn5+n0+mwtbUVShfFmbovhtNirL7PF2WK2vgCcEcnzwWh2+2yuHi6ikmj0aDb7YbSRXGm7ovhtBir7/NFYYs859zbwJsicvPk8Q3gqoi8PzZu2CYLWKXfpv55eBl4Cfju5PErwAKnhbUtIhc8+ko5gQ80fZ5jtJzqxxglpwl8bopoi8iF3BFF16fAZ0CPkxZ5wG3gdsFrCq97c167Tv9s8Af6yTnjy5p7Gl+ZGMfn1/ZZTqsX4yzktIqfmxL75OU7tY+AH4EXnHPzQAf4tMTrnpdH9C+L36W/THBoH+jHaDn1Tx1irENOp6awqInIF8Af6Dc0/gb4RET2Qu2Q9BfUuwl8DLRC+06c2jFaTv376hBj8jn1QeF3agDOuSXggYis5ozRanX/dxm7jg/pGzgZ+f5Hw6cZYyo5zXPWJacpxJjHwJk7qOR17BIn1/Fltiq2up/ky3Jq+0I7U8lpnrOOOQ3tDOXLI8s5vtltUoZhJIXXoja4ncrnnBkMz4GVfOec2j7NnA6cgX1nnJZT/846HIsTKTqVA+4B3wM/0//z7saEccPbqaY9Be10OnLx4kWZm5uTS5cuyZ07d0ZPPwet7lV8WU5tn1ZOJWKMPi5bZulzMws5reKxWMRoXidtPn8/sg48lMDX1SOJVPFlObV9opRTiRij5dSfsw7HYt7m8/Jz/Haq0Gj7Yjgtxur7YjhT9+Xis6g5j3PNoi+G02Ksvi+GM3VfLj6L2hGwWDiqur4YToux+r4YztR9ufgsao+A151zr3mcc5Z8Q6e2rw4xavvqkNPEj8WJeCtq0r+l4vfAQ19zTuBF59wR8I6SL8up7VPJqXNuY+R9DI3lNJAT5RgVfUOnc25j0gCvv1MTkc9F5A2fc2bwlYg0ROSuku+cU9unmVPov4+BfWecllP/zjoci5MG2B0FhmEkhRU1wzCSwoqaYRhJYUXNMIyksKJmGEZSWFEzDCMprKgZhpEUVtQMw0iKUkVtsACcc27fOXcr9E5tb2/TbrdptVpsbm6G1kVxpu6L4bQYq+/zQtHaRIwsAAfMA4+By3mvmWZNpePjY2k2m3JwcCC9Xk/W1tZkb29vdD0l7+uiP6tT2zet03KqH+Ms5HRaZ4ycFpHlHN/KnKldBfZF5FsReQrcB655rawj7Ozs0Gq1aDabzM/P0+l02NraCqWL4kzdF8NpMVbf54syRW18Abijk+eC0O12WVw8XcWk0WjQ7XZD6aI4U/fFcFqM1ff5orDvp3Pur/SX6z0QkVXn3A3gqoi8PzZu2PsPWKXfpv55eBn4DTAHHNPvj7DAaWFty1ivwSl9AG8AvwJ6wB7wyriTkR6VGj7PMdYhp7MWY5ScJvC5KaIt0/b9BH4H/I2Tvp/AbeB2wWsKr3tzXrsO7AC/pZ+cM76suafxlYlxfH5tn+W0ejHOQk6r+LkpsU9evlP7E9AAXnDOzQMd4NMSr3teHgG/Bn5Jf5ng0D7Qj9Fy6p86xFiHnE5NYVGT/gJ3f6Tfpf0b4BMR2Qu1Q3K6oN5fgFZo34hTO0bLqX9fHWJMOqc+KPxODcA5twQ8EJHVnDHD6+qFhYUry8vLU+1Yr9djf3+flZWzvUt3d3f/LmPX8SF9Aycj3/9o+DRjTCWnec665DSFGPMYOHMHlbyOXeLkOr7M5uO3KoeHh7KysnLueQL9NmaSL8up7QvtTCWnec465jS0M5Qvjyzn+Ga3SRmGkRSFRc05dw/4EmgXNTwY3E417U5dv36d9fV1njx5QqPR4O7dM8uRD8+BlXznnNo+zZwOnIF9Z5w+fCWctctpFY/FEpy/7h6n6FSu7MbI7VRKre5VfFlObZ9WTiVijJZTf846HIt5m8/Lz+HtVB7nnCXf0Kntq0OM2r465DTxY3EiPova+O1UodH2xXBajNX3xXCm7svFZ1FzHueaRV8Mp8VYfV8MZ+q+XHwWtSNgsXBUdX0xnBZj9X0xnKn7cvFZ1B4BrzvnXvM45yz5hk5tXx1i1PbVIaeJH4sT8VbU5PSWioe+5pzAi865I+AdJV+WU9unklPn3MbI+xgay2kgJ8oxKvqGzryflnn98a2IfC4ib/icM4OvRKQhIneVfOec2j7NnEL/fQzsO+O0nPp31uFYnDTA7igwDCMprKgZhpEUVtQMw0gKK2qGYSSFFTXDMJLCipphGElhRc0wjKQoVdQGayU55/adc7dC71SMVvfaztR9MZwWY/V9Xiham4iRtZKAeeAxcDnvNVVrdf+sTm3ftE7LqX6Ms5DTaZ0xclpElnN8K3OmNlwrSUSeAveBa14r6wgxWt1rO1P3xXBajNX3+aJMURtfK+no5LkgxGh1r+1M3RfDaTFW3+eLwhZ5zrm3gTdF5ObJ4xvAVRF5f2ycz1b3LwHfnTx+hfCt7gudjLRz0/B5jtFyqh9jlJwm8Lkpoi3TtsgDPgN6TGh1P+E107a6PwJ+QKnVfVGM4/Nr+yyn1YtxFnJaxc9NiX3y8p3aR8CP6La6/wXwLnqt7rVjtJz6pw4x1iGnU1NY1ETkC+AP6La6vwl8jFKr+wgxWk79++oQY/I59ULJU74lnqFDO/Ceh9PMTGfW3CF9WfNr+yyn1YtxFnJa1RgL9qVw/sI/FAA455aAByKymjNm+GXhwsLCleXl5cJ58+j1euzv77OycrZ36e7u7k8i8qqWb+AEPtT0acaYSk7znHXJaQox5jFw5g6a9n+HrM3HD/AODw9lZWXl3PME+sHfJF+WU9sX2plKTvOcdcxpaGcoXx5ZzvHN672fSq3no7a6d869pe3TzOnAGdh3xmk59e+sw7E4kaKqB9wDvgd+pv/n3Y0J47y1nu90OnLx4kWZm5uTS5cuyZ07d0YrtfdW93m+LKe2TyunEjFGH//Dz9LnZhZyWsVjsYjRvE7afH6Btw48lMCnoCOJVPFlObV9opRTiRij5dSfsw7HYt7m8/KzDq3uLUbzVcGZui8Xn0WtDq3uLUbzVcGZui8Xn0WtDq3uLUbzVcGZui8Xn0WtDq3uHwGva/vqEKO2rw45TfxYnIi3oib9WyqSbnU/4tT2qeTUObcx8j6GxnIayIlyjIq+odM5tzFpgNffqUkNWt2LyOfaPs2cQv99DOw747Sc+nfW4VicNMAarxiGkRRW1AzDSAoraoZhJIUVNcMwksKKmmEYSWFFzTCMpLCiZhhGUp2HSEsAAALDSURBVFhRMwwjKUoVtcECcM65fefcrdA7tb29TbvdptVqsbm5GVoXxZm6L4bTYqy+zwtFaxMxsgAcMA88Bi7nvWaaNZWOj4+l2WzKwcGB9Ho9WVtbk729vdH1lLwvIfysTm3ftE7LqX6Ms5DTaZ0xclpElnN8K3OmdhXYF5FvReQpcB+45rWyjrCzs0Or1aLZbDI/P0+n02FrayuULoozdV8Mp8VYfZ8vyhS18QXgjk6eC0K322Vx8XQVk0ajQbfbDaWL4kzdF8NpMVbf54vCFnnOubeBN0Xk5snjG8BVEXl/bNywTRawSr9N/fPwMvAS8N3J41eABU4La1tELnj0lXICH2j6PMdoOdWPMUpOE/jcFNEWkQu5I4quTxlZf/zk8W3gdsFrCq97n9eXNfc0vudxavssp9WLcRZyWsXPTYl98vKd2nABOOfcPNABPi3xuudF2xfDmbovhtNirL7PC3NFA0Tk2Dk3WADun4A/i8heqB3S9sVwpu6L4bQYq+/zRqBTxPcCnn6emzukL2t+bZ/ltHoxzkJO6xLj+Fb4hwLDMIwqYbdJGYaRFF6LWsjbqZxzf3bO/eCc+3rkuaC3b2k7Z8EXw5m6L4YzJd8k50Q8Xus+8+1Uzzj/PwO/Bb7W8MVwxvbVIUbLafV8k/I6afN5phb0dioR+Xfgv7R8MZwz4IvhTN0Xw5mUb4JzIj6LmurtVBF8MZwWY/V9MZyp+3LxWdRcxnMh/7Sq7YvhtBir74vhTN2Xi8+idgQsjjxuAP/pcf7YvhhOi7H6vhjO1H25+CxqdbiFw2I0XxWcqfvy8fwXin8B/g/9v4R86Hnue8D3wM/0/2fYCOmL4ZwFX2rv4yz4LKfh8pq12R0FhmEkhd1RYBhGUlhRMwwjKayoGYaRFFbUDMNICitqhmEkhRU1wzCSwoqaYRhJYUXNMIyk+P9wEOn5AzdX9AAAAABJRU5ErkJggg==\n",
      "text/plain": [
       "<Figure size 360x360 with 100 Axes>"
      ]
     },
     "metadata": {
      "needs_background": "light"
     },
     "output_type": "display_data"
    }
   ],
   "source": [
    "vis = features['res5'].detach().cpu().squeeze(0)\n",
    "\n",
    "fig, axes = plt.subplots(nrows=10, ncols=10, figsize=(5, 5))\n",
    "for i in range(100):\n",
    "    axes[i].imshow(vis[i])\n",
    "plt.show()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 64,
   "metadata": {},
   "outputs": [],
   "source": [
    "?backbone.forward"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 13,
   "metadata": {},
   "outputs": [],
   "source": [
    "device = torch.device(\"cuda\" if torch.cuda.is_available() else \"cpu\")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": 24,
   "metadata": {},
   "outputs": [
    {
     "output_type": "execute_result",
     "data": {
      "text/plain": "32"
     },
     "metadata": {},
     "execution_count": 24
    }
   ],
   "source": [
    "model.backbone.size_divisibility"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 25,
   "metadata": {
    "tags": []
   },
   "outputs": [
    {
     "output_type": "stream",
     "name": "stdout",
     "text": "torch.Size([1, 3, 749, 1333])\n"
    }
   ],
   "source": [
    "transform_gen = T.ResizeShortestEdge(\n",
    "            [cfg.INPUT.MIN_SIZE_TEST, cfg.INPUT.MIN_SIZE_TEST], cfg.INPUT.MAX_SIZE_TEST\n",
    "        )\n",
    "\n",
    "# whether the model expects BGR inputs or RGB\n",
    "original_image = cv2.imread('data/samples/WechatIMG18.png')\n",
    "original_image = original_image[:, :, ::-1]\n",
    "image = transform_gen.get_transform(original_image).apply_image(original_image)\n",
    "image = torch.as_tensor(image.astype(\"float32\").transpose(2, 0, 1))[None, ...].to(device)\n",
    "print(image.shape)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 46,
   "metadata": {
    "tags": []
   },
   "outputs": [
    {
     "output_type": "stream",
     "name": "stdout",
     "text": "torch.Size([1, 3, 768, 1344])\n"
    }
   ],
   "source": [
    "with torch.no_grad():\n",
    "    # whether the model expects BGR inputs or RGB\n",
    "    original_image = cv2.imread('data/samples/WechatIMG18.png')\n",
    "    original_image = original_image[:, :, ::-1]\n",
    "    height, width = original_image.shape[:2]\n",
    "\n",
    "    image = transform_gen.get_transform(original_image).apply_image(original_image)\n",
    "    # Don't have to batch here\n",
    "    image = torch.as_tensor(image.astype(\"float32\").transpose(2, 0, 1)).to(device)\n",
    "\n",
    "    inputs = [{\"image\": image, \"height\": height, \"width\": width}]\n",
    "    \n",
    "    images = model.preprocess_image(inputs)\n",
    "    print(images.tensor.shape)\n",
    "    features = model.backbone(images.tensor)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 48,
   "metadata": {},
   "outputs": [
    {
     "output_type": "execute_result",
     "data": {
      "text/plain": "dict_keys(['p2', 'p3', 'p4', 'p5', 'p6'])"
     },
     "metadata": {},
     "execution_count": 48
    }
   ],
   "source": [
    "features.keys()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 21,
   "metadata": {
    "scrolled": false
   },
   "outputs": [
    {
     "output_type": "error",
     "ename": "TypeError",
     "evalue": "'NoneType' object is not subscriptable",
     "traceback": [
      "\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
      "\u001b[0;31mTypeError\u001b[0m                                 Traceback (most recent call last)",
      "\u001b[0;32m<ipython-input-21-0f2fcc22930e>\u001b[0m in \u001b[0;36m<module>\u001b[0;34m\u001b[0m\n\u001b[1;32m      5\u001b[0m     \u001b[0;31m# whether the model expects BGR inputs or RGB\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m      6\u001b[0m     \u001b[0moriginal_image\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mcv2\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mimread\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m'../phishpedia/benchmark/Sampled_phish1000/1&1 Ionos+2020-05-10-23`43`06/shot.png'\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m----> 7\u001b[0;31m     \u001b[0moriginal_image\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0moriginal_image\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m:\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m:\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m-\u001b[0m\u001b[0;36m1\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m      8\u001b[0m     \u001b[0mimage\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mtransform_gen\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mget_transform\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0moriginal_image\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mapply_image\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0moriginal_image\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m      9\u001b[0m     \u001b[0mimage\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mtorch\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mas_tensor\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mimage\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mastype\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m\"float32\"\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mtranspose\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;36m2\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;36m0\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;36m1\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;32mNone\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m...\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mto\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mdevice\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
      "\u001b[0;31mTypeError\u001b[0m: 'NoneType' object is not subscriptable"
     ]
    }
   ],
   "source": [
    "transform_gen = T.ResizeShortestEdge(\n",
    "            [cfg.INPUT.MIN_SIZE_TEST, cfg.INPUT.MIN_SIZE_TEST], cfg.INPUT.MAX_SIZE_TEST\n",
    "        )\n",
    "with torch.no_grad(): \n",
    "    # whether the model expects BGR inputs or RGB\n",
    "    original_image = cv2.imread('../phishpedia/benchmark/Sampled_phish1000/1&1 Ionos+2020-05-10-23`43`06/shot.png')\n",
    "    original_image = original_image[:, :, ::-1]\n",
    "    image = transform_gen.get_transform(original_image).apply_image(original_image)\n",
    "    image = torch.as_tensor(image.astype(\"float32\").transpose(2, 0, 1))[None, ...].to(device)\n",
    "    print(image).shape\n",
    "    feat_pred = model.backbone(image)\n",
    "    "
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.7.7-final"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}